diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 63f9df954cd..7548f970613 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -54,6 +54,22 @@ You can view the [README](https://github.com/microsoft/kiota/blob/main/README.md For the purposes of the .Net client library, the generator runs through an openApi file generated from the CSDL document file published by Microsoft Graph (https://graph.microsoft.com/v1.0/$metadata) and builds up an in-memory list of models. +The generation configuration in `src/Microsoft.Graph/Generated/kiota-lock.json` +excludes `/me` and `/me/**`. Keep these exclusions when regenerating: the +handwritten `GraphServiceClient.Me` property reuses the `/users/{user-id}` +request builders with `CoreConstants.ReplacementConstants.UserIdTokenToReplace`. +Request information therefore contains `/users/TokenToReplace`; Microsoft.Graph.Core +rewrites that path to `/me` before sending, including requests in a batch. +No user lookup is performed. + +See the [signed-in user migration notes](README.md#signed-in-user-request-builders) +for the breaking namespace changes and custom HTTP pipeline requirements. + +This SDK change must ship with the Microsoft.Graph.Core implementation of that +replacement constant and URI replacement handler; the existing `4.*` dependency +does not establish a minimum release containing it. Once that core release is +published, set the package dependency to its actual minimum supported version. + ### When new features are added to the library Generation happens as part of a manual process that occurs once a significant change or set of changes has been added to the Graph. This may include: - A new workload comes to v1.0 of Graph (Microsoft Teams, Batching, etc.) diff --git a/README.md b/README.md index 4bca840533a..c82c6714f91 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,26 @@ Between 4.x and 5.x there were several major breaking changes as the SDK now use View the upgrade guide [here](https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/docs/upgrade-to-v5.md). +### Signed-in user request builders + +`graphClient.Me` reuses the `Microsoft.Graph.Users.Item` request builders. +Requests still reach `/me`; no user ID lookup is required. Request information +contains the intermediate `/users/TokenToReplace` path until the core HTTP +pipeline (or batch handling) rewrites it. + +**Breaking change:** replace explicit `Microsoft.Graph.Me.*` references with +their `Microsoft.Graph.Users.Item.*` equivalents, including action request +bodies, responses, and query parameter types. Access `Me` through +`GraphServiceClient`, not `BaseGraphServiceClient`. + +If you supply an `HttpClient`, create it with `GraphClientFactory.Create()` or +include `UriReplacementHandler` configured +with `new GraphUriReplacementHandlerOption()` in your custom pipeline. The handler +is in `Microsoft.Kiota.Http.HttpClientLibrary.Middleware`; its option is in +`Microsoft.Graph`. Custom request adapters must implement equivalent path +replacement. The SDK preserves supplied clients and adapters rather than +replacing their pipelines. + ## Issues To view or log issues, see [issues](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues). diff --git a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs index 0f04fc75cc8..5a229a4a56a 100644 --- a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs +++ b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs @@ -47,7 +47,6 @@ using Microsoft.Graph.IdentityProviders; using Microsoft.Graph.InformationProtection; using Microsoft.Graph.Invitations; -using Microsoft.Graph.Me; using Microsoft.Graph.Oauth2PermissionGrants; using Microsoft.Graph.Organization; using Microsoft.Graph.PermissionGrants; @@ -306,11 +305,6 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder { get => new global::Microsoft.Graph.Invitations.InvitationsRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to manage the user singleton. - public global::Microsoft.Graph.Me.MeRequestBuilder Me - { - get => new global::Microsoft.Graph.Me.MeRequestBuilder(PathParameters, RequestAdapter); - } /// Provides operations to manage the collection of oAuth2PermissionGrant entities. public global::Microsoft.Graph.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Oauth2PermissionGrants { diff --git a/src/Microsoft.Graph/Generated/Me/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/ActivitiesRequestBuilder.cs deleted file mode 100644 index 8649fdcd36b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/ActivitiesRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Activities.Count; -using Microsoft.Graph.Me.Activities.Item; -using Microsoft.Graph.Me.Activities.Recent; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Activities -{ - /// - /// Provides operations to manage the activities property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ActivitiesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Activities.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Activities.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the recent method. - public global::Microsoft.Graph.Me.Activities.Recent.RecentRequestBuilder Recent - { - get => new global::Microsoft.Graph.Me.Activities.Recent.RecentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the activities property of the microsoft.graph.user entity. - /// The unique identifier of userActivity - /// A - public global::Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("userActivity%2Did", position); - return new global::Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder(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 ActivitiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities{?%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 ActivitiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to activities 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.Models.UserActivity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.UserActivity body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. - /// - /// 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 activities 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.Models.UserActivity body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.UserActivity body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Activities.ActivitiesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Activities.ActivitiesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ActivitiesRequestBuilderGetQueryParameters - { - /// 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 ActivitiesRequestBuilderGetRequestConfiguration : 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 ActivitiesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Count/CountRequestBuilder.cs deleted file mode 100644 index b999e3a877d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Activities.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/activities/$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/activities/$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.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.Me.Activities.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Activities.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/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs deleted file mode 100644 index 65c89f7461a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Activities.Item.HistoryItems.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/activities/{userActivity%2Did}/historyItems/$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/activities/{userActivity%2Did}/historyItems/$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.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.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Activities.Item.HistoryItems.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/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs deleted file mode 100644 index 98c03c07f10..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Activities.Item.HistoryItems.Count; -using Microsoft.Graph.Me.Activities.Item.HistoryItems.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Activities.Item.HistoryItems -{ - /// - /// Provides operations to manage the historyItems property of the microsoft.graph.userActivity entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HistoryItemsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the historyItems property of the microsoft.graph.userActivity entity. - /// The unique identifier of activityHistoryItem - /// A - public global::Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("activityHistoryItem%2Did", position); - return new global::Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder(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 HistoryItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/{userActivity%2Did}/historyItems{?%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 HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/{userActivity%2Did}/historyItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivityHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to historyItems 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.Models.ActivityHistoryItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ActivityHistoryItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. - /// - /// 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 historyItems 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.Models.ActivityHistoryItem body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ActivityHistoryItem body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Activities.Item.HistoryItems.HistoryItemsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Activities.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HistoryItemsRequestBuilderGetQueryParameters - { - /// 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 HistoryItemsRequestBuilderGetRequestConfiguration : 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 HistoryItemsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs deleted file mode 100644 index 1e28d12f3f4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Activities.Item.HistoryItems.Item.Activity -{ - /// - /// Provides operations to manage the activity property of the microsoft.graph.activityHistoryItem entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ActivityRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ActivityRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/{userActivity%2Did}/historyItems/{activityHistoryItem%2Did}/activity{?%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 ActivityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/{userActivity%2Did}/historyItems/{activityHistoryItem%2Did}/activity{?%24expand,%24select}", rawUrl) - { - } - /// - /// Optional. NavigationProperty/Containment; navigation property to the associated activity. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional. NavigationProperty/Containment; navigation property to the associated activity. - /// - /// 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.Me.Activities.Item.HistoryItems.Item.Activity.ActivityRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.ActivityRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Optional. NavigationProperty/Containment; navigation property to the associated activity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ActivityRequestBuilderGetQueryParameters - { - /// 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 ActivityRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs deleted file mode 100644 index 039b5fcbabf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs +++ /dev/null @@ -1,237 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Activities.Item.HistoryItems.Item -{ - /// - /// Provides operations to manage the historyItems property of the microsoft.graph.userActivity entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ActivityHistoryItemItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the activity property of the microsoft.graph.activityHistoryItem entity. - public global::Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.ActivityRequestBuilder Activity - { - get => new global::Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.ActivityRequestBuilder(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 ActivityHistoryItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/{userActivity%2Did}/historyItems/{activityHistoryItem%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 ActivityHistoryItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/{userActivity%2Did}/historyItems/{activityHistoryItem%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete an existing history item for an existing user activity. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new or replace an existing history item for an existing user activity. - /// 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 PatchAsync(global::Microsoft.Graph.Models.ActivityHistoryItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ActivityHistoryItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete an existing history item for an existing user activity. - /// - /// 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; - } - /// - /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. - /// - /// 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 a new or replace an existing history item for an existing user activity. - /// - /// 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.Models.ActivityHistoryItem body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ActivityHistoryItem body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder(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 ActivityHistoryItemItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ActivityHistoryItemItemRequestBuilderGetQueryParameters - { - /// 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 ActivityHistoryItemItemRequestBuilderGetRequestConfiguration : 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 ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/UserActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/UserActivityItemRequestBuilder.cs deleted file mode 100644 index 4de9e2c6ac8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/UserActivityItemRequestBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Activities.Item.HistoryItems; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Activities.Item -{ - /// - /// Provides operations to manage the activities property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserActivityItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the historyItems property of the microsoft.graph.userActivity entity. - public global::Microsoft.Graph.Me.Activities.Item.HistoryItems.HistoryItemsRequestBuilder HistoryItems - { - get => new global::Microsoft.Graph.Me.Activities.Item.HistoryItems.HistoryItemsRequestBuilder(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 UserActivityItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/{userActivity%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 UserActivityItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/{userActivity%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete an existing user activity for your app. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The user's activities across devices. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property activities 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.Models.UserActivity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UserActivity body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete an existing user activity for your app. - /// - /// 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; - } - /// - /// The user's activities across devices. Read-only. Nullable. - /// - /// 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 activities 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.Models.UserActivity body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserActivity body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder(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 UserActivityItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The user's activities across devices. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserActivityItemRequestBuilderGetQueryParameters - { - /// 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 UserActivityItemRequestBuilderGetRequestConfiguration : 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 UserActivityItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentGetResponse.cs deleted file mode 100644 index 9d875d0eacf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Activities.Recent -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RecentGetResponse : global::Microsoft.Graph.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.Me.Activities.Recent.RecentGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Activities.Recent.RecentGetResponse(); - } - /// - /// 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.Models.UserActivity.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentRequestBuilder.cs deleted file mode 100644 index 19558c754ec..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Activities.Recent -{ - /// - /// Provides operations to call the recent method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RecentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RecentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/recent(){?%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 RecentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/activities/recent(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent activityHistoryItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the activityHistoryItem. This means that activities without activityHistoryItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsRecentGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsRecentGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Activities.Recent.RecentGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent activityHistoryItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the activityHistoryItem. This means that activities without activityHistoryItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsRecentGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Activities.Recent.RecentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent activityHistoryItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the activityHistoryItem. This means that activities without activityHistoryItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. - /// - /// 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.Me.Activities.Recent.RecentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Activities.Recent.RecentRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent activityHistoryItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the activityHistoryItem. This means that activities without activityHistoryItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RecentRequestBuilderGetQueryParameters - { - /// 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 RecentRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentResponse.cs b/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentResponse.cs deleted file mode 100644 index f21d3e3a8e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Activities.Recent -{ - [Obsolete("This class is obsolete. Use RecentGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RecentResponse : global::Microsoft.Graph.Me.Activities.Recent.RecentGetResponse, 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.Me.Activities.Recent.RecentResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Activities.Recent.RecentResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs deleted file mode 100644 index bffcf4b9b51..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.AdhocCalls.Count; -using Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime; -using Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime; -using Microsoft.Graph.Me.AdhocCalls.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AdhocCalls -{ - /// - /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AdhocCallsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllRecordings method. - public global::Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime - { - get => new global::Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllTranscripts method. - public global::Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime - { - get => new global::Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. - /// The unique identifier of adhocCall - /// A - public global::Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("adhocCall%2Did", position); - return new global::Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder(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 AdhocCallsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls{?%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 AdhocCallsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Ad hoc calls associated with the user. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AdhocCallCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to adhocCalls 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.Models.AdhocCall body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.AdhocCall body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Ad hoc calls associated with the user. Read-only. Nullable. - /// - /// 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 adhocCalls 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.Models.AdhocCall body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AdhocCall body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Ad hoc calls associated with the user. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AdhocCallsRequestBuilderGetQueryParameters - { - /// 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 AdhocCallsRequestBuilderGetRequestConfiguration : 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 AdhocCallsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Count/CountRequestBuilder.cs deleted file mode 100644 index 405f2b9bd96..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AdhocCalls.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/adhocCalls/$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/adhocCalls/$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.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.Me.AdhocCalls.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.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/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs deleted file mode 100644 index b73c0a9f4c0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.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.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(); - } - /// - /// 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.Models.CallRecording.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs deleted file mode 100644 index 0429bb0797f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ /dev/null @@ -1,203 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime -{ - /// - /// Provides operations to call the getAllRecordings method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", 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 GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", rawUrl) - { - } - /// - /// Invoke function getAllRecordings - /// - /// 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 GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllRecordings - /// - /// 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 GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllRecordings - /// - /// 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.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function getAllRecordings - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Usage: endDateTime=@endDateTime - [QueryParameter("endDateTime")] - public DateTimeOffset? EndDateTime { 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; } - /// Usage: startDateTime=@startDateTime - [QueryParameter("startDateTime")] - public DateTimeOffset? StartDateTime { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - /// Usage: userId='@userId' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("userId")] - public string? UserId { get; set; } -#nullable restore -#else - [QueryParameter("userId")] - public string UserId { 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 GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs deleted file mode 100644 index 10ca24729b3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime -{ - [Obsolete("This class is obsolete. Use GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse, 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.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs deleted file mode 100644 index a33199ef3f2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.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.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(); - } - /// - /// 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.Models.CallTranscript.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs deleted file mode 100644 index 8767b9da058..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ /dev/null @@ -1,203 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime -{ - /// - /// Provides operations to call the getAllTranscripts method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", 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 GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", rawUrl) - { - } - /// - /// Invoke function getAllTranscripts - /// - /// 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 GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllTranscripts - /// - /// 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 GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllTranscripts - /// - /// 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.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function getAllTranscripts - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Usage: endDateTime=@endDateTime - [QueryParameter("endDateTime")] - public DateTimeOffset? EndDateTime { 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; } - /// Usage: startDateTime=@startDateTime - [QueryParameter("startDateTime")] - public DateTimeOffset? StartDateTime { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - /// Usage: userId='@userId' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("userId")] - public string? UserId { get; set; } -#nullable restore -#else - [QueryParameter("userId")] - public string UserId { 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 GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs deleted file mode 100644 index 1e5e2aff886..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime -{ - [Obsolete("This class is obsolete. Use GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse, 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.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs deleted file mode 100644 index d3e02c9fdc7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.AdhocCalls.Item.Recordings; -using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AdhocCalls.Item -{ - /// - /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AdhocCallItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder Recordings - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder Transcripts - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder(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 AdhocCallItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%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 AdhocCallItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property adhocCalls 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Ad hoc calls associated with the user. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property adhocCalls 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.Models.AdhocCall body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.AdhocCall body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property adhocCalls 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; - } - /// - /// Ad hoc calls associated with the user. Read-only. Nullable. - /// - /// 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 adhocCalls 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.Models.AdhocCall body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AdhocCall body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder(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 AdhocCallItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Ad hoc calls associated with the user. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AdhocCallItemRequestBuilderGetQueryParameters - { - /// 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 AdhocCallItemRequestBuilderGetRequestConfiguration : 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 AdhocCallItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.cs deleted file mode 100644 index fb226f5e665..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AdhocCalls.Item.Recordings.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/adhocCalls/{adhocCall%2Did}/recordings/$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/adhocCalls/{adhocCall%2Did}/recordings/$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.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.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.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/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs deleted file mode 100644 index 37450551400..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.CallRecording.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index a651c69ae48..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AdhocCalls.Item.Recordings.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function delta - /// - /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function delta - /// - /// 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 GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function delta - /// - /// 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.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function delta - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs deleted file mode 100644 index c8c824c2c34..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.AdhocCalls.Item.Recordings.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse, 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.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs deleted file mode 100644 index 7db83b562a7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AdhocCalls.Item.Recordings.Item -{ - /// - /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CallRecordingItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder(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 CallRecordingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%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 CallRecordingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property recordings 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The recordings of a call. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property recordings 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.Models.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CallRecording body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property recordings 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; - } - /// - /// The recordings of a call. Read-only. - /// - /// 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 recordings 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.Models.CallRecording body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallRecording body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 CallRecordingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The recordings of a call. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CallRecordingItemRequestBuilderGetQueryParameters - { - /// 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 CallRecordingItemRequestBuilderGetRequestConfiguration : 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 CallRecordingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index 9a0e1854cbc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AdhocCalls.Item.Recordings.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", rawUrl) - { - } - /// - /// The content of the recording. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the recording. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the recording. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the recording. Read-only. - /// - /// 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; - } - /// - /// The content of the recording. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The content of the recording. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs deleted file mode 100644 index 3c99b009124..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count; -using Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta; -using Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AdhocCalls.Item.Recordings -{ - /// - /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RecordingsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. - /// The unique identifier of callRecording - /// A - public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("callRecording%2Did", position); - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 RecordingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings{?%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 RecordingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The recordings of a call. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecordingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to recordings 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.Models.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CallRecording body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The recordings of a call. Read-only. - /// - /// 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 recordings 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.Models.CallRecording body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallRecording body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The recordings of a call. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RecordingsRequestBuilderGetQueryParameters - { - /// 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 RecordingsRequestBuilderGetRequestConfiguration : 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 RecordingsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.cs deleted file mode 100644 index f024b53371f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AdhocCalls.Item.Transcripts.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/adhocCalls/{adhocCall%2Did}/transcripts/$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/adhocCalls/{adhocCall%2Did}/transcripts/$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.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.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.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/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs deleted file mode 100644 index c6295f21a4d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.CallTranscript.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index cf6e3d4ba6c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AdhocCalls.Item.Transcripts.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function delta - /// - /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function delta - /// - /// 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 GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function delta - /// - /// 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.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function delta - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs deleted file mode 100644 index 25b70b70823..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.AdhocCalls.Item.Transcripts.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse, 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.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs deleted file mode 100644 index b9363660b9e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content; -using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AdhocCalls.Item.Transcripts.Item -{ - /// - /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CallTranscriptItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder MetadataContent - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 CallTranscriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%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 CallTranscriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property transcripts 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The transcripts of a call. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property transcripts 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.Models.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CallTranscript body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property transcripts 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; - } - /// - /// The transcripts of a call. Read-only. - /// - /// 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 transcripts 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.Models.CallTranscript body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallTranscript body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 CallTranscriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The transcripts of a call. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CallTranscriptItemRequestBuilderGetQueryParameters - { - /// 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 CallTranscriptItemRequestBuilderGetRequestConfiguration : 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 CallTranscriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index eca31c31ef8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AdhocCalls.Item.Transcripts.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", rawUrl) - { - } - /// - /// The content of the transcript. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the transcript. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the transcript. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the transcript. Read-only. - /// - /// 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; - } - /// - /// The content of the transcript. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The content of the transcript. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs deleted file mode 100644 index e81fcada65f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MetadataContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MetadataContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", 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 MetadataContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", rawUrl) - { - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// 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; - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 MetadataContentRequestBuilderDeleteRequestConfiguration : 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 MetadataContentRequestBuilderGetRequestConfiguration : 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 MetadataContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs deleted file mode 100644 index ce501ed4bc5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count; -using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta; -using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AdhocCalls.Item.Transcripts -{ - /// - /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TranscriptsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. - /// The unique identifier of callTranscript - /// A - public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("callTranscript%2Did", position); - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 TranscriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts{?%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 TranscriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The transcripts of a call. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to transcripts 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.Models.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CallTranscript body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The transcripts of a call. Read-only. - /// - /// 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 transcripts 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.Models.CallTranscript body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallTranscript body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The transcripts of a call. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TranscriptsRequestBuilderGetQueryParameters - { - /// 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 TranscriptsRequestBuilderGetRequestConfiguration : 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 TranscriptsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs deleted file mode 100644 index 12097058656..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs +++ /dev/null @@ -1,184 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.AgreementAcceptances.Count; -using Microsoft.Graph.Me.AgreementAcceptances.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AgreementAcceptances -{ - /// - /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AgreementAcceptancesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. - /// The unique identifier of agreementAcceptance - /// A - public global::Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("agreementAcceptance%2Did", position); - return new global::Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder(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 AgreementAcceptancesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/agreementAcceptances{?%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 AgreementAcceptancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/agreementAcceptances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Allows the signed-in user to retrieve their agreementAcceptance objects. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Allows the signed-in user to retrieve their agreementAcceptance objects. - /// - /// 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.Me.AgreementAcceptances.AgreementAcceptancesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AgreementAcceptances.AgreementAcceptancesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Allows the signed-in user to retrieve their agreementAcceptance objects. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AgreementAcceptancesRequestBuilderGetQueryParameters - { - /// 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 AgreementAcceptancesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Count/CountRequestBuilder.cs deleted file mode 100644 index 2dec47ce4ec..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AgreementAcceptances.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/agreementAcceptances/$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/agreementAcceptances/$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.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.Me.AgreementAcceptances.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AgreementAcceptances.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/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs deleted file mode 100644 index 348d8d60879..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AgreementAcceptances.Item -{ - /// - /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AgreementAcceptanceItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AgreementAcceptanceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/agreementAcceptances/{agreementAcceptance%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 AgreementAcceptanceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/agreementAcceptances/{agreementAcceptance%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The user's terms of use acceptance statuses. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The user's terms of use acceptance statuses. Read-only. Nullable. - /// - /// 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.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The user's terms of use acceptance statuses. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AgreementAcceptanceItemRequestBuilderGetQueryParameters - { - /// 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 AgreementAcceptanceItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs deleted file mode 100644 index 29f51c81bda..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.AppRoleAssignments.Count; -using Microsoft.Graph.Me.AppRoleAssignments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AppRoleAssignments -{ - /// - /// Provides operations to manage the appRoleAssignments property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AppRoleAssignmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the appRoleAssignments property of the microsoft.graph.user entity. - /// The unique identifier of appRoleAssignment - /// A - public global::Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("appRoleAssignment%2Did", position); - return new global::Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder(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 AppRoleAssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/appRoleAssignments{?%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 AppRoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/appRoleAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Represents the app roles a user is granted for an application. Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to appRoleAssignments 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.Models.AppRoleAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.AppRoleAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the app roles a user is granted for an application. Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to appRoleAssignments 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.Models.AppRoleAssignment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AppRoleAssignment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.AppRoleAssignments.AppRoleAssignmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AppRoleAssignments.AppRoleAssignmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Represents the app roles a user is granted for an application. Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AppRoleAssignmentsRequestBuilderGetQueryParameters - { - /// 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 AppRoleAssignmentsRequestBuilderGetRequestConfiguration : 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 AppRoleAssignmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Count/CountRequestBuilder.cs deleted file mode 100644 index 3b904eda99f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AppRoleAssignments.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/appRoleAssignments/$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/appRoleAssignments/$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.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.Me.AppRoleAssignments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AppRoleAssignments.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/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs deleted file mode 100644 index 9aaefe2444e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AppRoleAssignments.Item -{ - /// - /// Provides operations to manage the appRoleAssignments property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AppRoleAssignmentItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AppRoleAssignmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/appRoleAssignments/{appRoleAssignment%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 AppRoleAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/appRoleAssignments/{appRoleAssignment%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property appRoleAssignments 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the app roles a user is granted for an application. Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property appRoleAssignments 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.Models.AppRoleAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.AppRoleAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property appRoleAssignments for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents the app roles a user is granted for an application. Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property appRoleAssignments 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.Models.AppRoleAssignment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AppRoleAssignment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder(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 AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents the app roles a user is granted for an application. Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AppRoleAssignmentItemRequestBuilderGetQueryParameters - { - /// 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 AppRoleAssignmentItemRequestBuilderGetRequestConfiguration : 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 AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicensePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicensePostRequestBody.cs deleted file mode 100644 index 11052472142..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicensePostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.AssignLicense -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AssignLicensePostRequestBody : 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 addLicenses property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? AddLicenses - { - get { return BackingStore?.Get?>("addLicenses"); } - set { BackingStore?.Set("addLicenses", value); } - } -#nullable restore -#else - public List AddLicenses - { - get { return BackingStore?.Get>("addLicenses"); } - set { BackingStore?.Set("addLicenses", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The removeLicenses property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? RemoveLicenses - { - get { return BackingStore?.Get?>("removeLicenses"); } - set { BackingStore?.Set("removeLicenses", value); } - } -#nullable restore -#else - public List RemoveLicenses - { - get { return BackingStore?.Get>("removeLicenses"); } - set { BackingStore?.Set("removeLicenses", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public AssignLicensePostRequestBody() - { - 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.Me.AssignLicense.AssignLicensePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.AssignLicense.AssignLicensePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "addLicenses", n => { AddLicenses = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AssignedLicense.CreateFromDiscriminatorValue)?.AsList(); } }, - { "removeLicenses", n => { RemoveLicenses = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("addLicenses", AddLicenses); - writer.WriteCollectionOfPrimitiveValues("removeLicenses", RemoveLicenses); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs deleted file mode 100644 index 424f419b9c5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.AssignLicense -{ - /// - /// Provides operations to call the assignLicense method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssignLicenseRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AssignLicenseRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/assignLicense", 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 AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/assignLicense", rawUrl) - { - } - /// - /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. - /// 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 PostAsync(global::Microsoft.Graph.Me.AssignLicense.AssignLicensePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.AssignLicense.AssignLicensePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. - /// - /// 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.Me.AssignLicense.AssignLicensePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.AssignLicense.AssignLicensePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.AssignLicense.AssignLicenseRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.AssignLicense.AssignLicenseRequestBuilder(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 AssignLicenseRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs deleted file mode 100644 index 0e97571bf1e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs +++ /dev/null @@ -1,307 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.EmailMethods; -using Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods; -using Microsoft.Graph.Me.Authentication.Fido2Methods; -using Microsoft.Graph.Me.Authentication.Methods; -using Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods; -using Microsoft.Graph.Me.Authentication.Operations; -using Microsoft.Graph.Me.Authentication.PasswordMethods; -using Microsoft.Graph.Me.Authentication.PhoneMethods; -using Microsoft.Graph.Me.Authentication.PlatformCredentialMethods; -using Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods; -using Microsoft.Graph.Me.Authentication.SoftwareOathMethods; -using Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods; -using Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication -{ - /// - /// Provides operations to manage the authentication property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AuthenticationRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the emailMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.EmailMethods.EmailMethodsRequestBuilder EmailMethods - { - get => new global::Microsoft.Graph.Me.Authentication.EmailMethods.EmailMethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder ExternalAuthenticationMethods - { - get => new global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder Fido2Methods - { - get => new global::Microsoft.Graph.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the methods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.Methods.MethodsRequestBuilder Methods - { - get => new global::Microsoft.Graph.Me.Authentication.Methods.MethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.MicrosoftAuthenticatorMethodsRequestBuilder MicrosoftAuthenticatorMethods - { - get => new global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.MicrosoftAuthenticatorMethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the operations property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.Operations.OperationsRequestBuilder Operations - { - get => new global::Microsoft.Graph.Me.Authentication.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.PasswordMethods.PasswordMethodsRequestBuilder PasswordMethods - { - get => new global::Microsoft.Graph.Me.Authentication.PasswordMethods.PasswordMethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.PhoneMethods.PhoneMethodsRequestBuilder PhoneMethods - { - get => new global::Microsoft.Graph.Me.Authentication.PhoneMethods.PhoneMethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder PlatformCredentialMethods - { - get => new global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder ResourceAccountKeyAuthenticationMethods - { - get => new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder SoftwareOathMethods - { - get => new global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.TemporaryAccessPassMethodsRequestBuilder TemporaryAccessPassMethods - { - get => new global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.TemporaryAccessPassMethodsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity. - public global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.WindowsHelloForBusinessMethodsRequestBuilder WindowsHelloForBusinessMethods - { - get => new global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.WindowsHelloForBusinessMethodsRequestBuilder(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 AuthenticationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication{?%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 AuthenticationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property authentication 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The authentication methods that are supported for the user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property authentication 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.Models.Authentication body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Authentication body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property authentication 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; - } - /// - /// The authentication methods that are supported for the user. - /// - /// 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 authentication 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.Models.Authentication body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Authentication body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.AuthenticationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.AuthenticationRequestBuilder(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 AuthenticationRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The authentication methods that are supported for the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AuthenticationRequestBuilderGetQueryParameters - { - /// 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 AuthenticationRequestBuilderGetRequestConfiguration : 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 AuthenticationRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index f58c4f0e5b3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.EmailMethods.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/emailMethods/$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/emailMethods/$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.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.Me.Authentication.EmailMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.EmailMethods.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/EmailMethods/EmailMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs deleted file mode 100644 index 92ecd4e10ef..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.EmailMethods.Count; -using Microsoft.Graph.Me.Authentication.EmailMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.EmailMethods -{ - /// - /// Provides operations to manage the emailMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EmailMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the emailMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of emailAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("emailAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder(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 EmailMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/emailMethods{?%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 EmailMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/emailMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of a user's email authentication method objects and their properties. This call only returns a single object referenced by ID 3ddfcfc8-9383-446f-83cc-3ab9be4be18f as only one email method can be set on users. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EmailAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to emailMethods 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.Models.EmailAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.EmailAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of a user's email authentication method objects and their properties. This call only returns a single object referenced by ID 3ddfcfc8-9383-446f-83cc-3ab9be4be18f as only one email method can be set on 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 emailMethods 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.Models.EmailAuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.EmailAuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.EmailMethods.EmailMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.EmailMethods.EmailMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of a user's email authentication method objects and their properties. This call only returns a single object referenced by ID 3ddfcfc8-9383-446f-83cc-3ab9be4be18f as only one email method can be set on users. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EmailMethodsRequestBuilderGetQueryParameters - { - /// 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 EmailMethodsRequestBuilderGetRequestConfiguration : 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 EmailMethodsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index f11341d895c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,230 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.EmailMethods.Item -{ - /// - /// Provides operations to manage the emailMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EmailAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public EmailAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/emailMethods/{emailAuthenticationMethod%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 EmailAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/emailMethods/{emailAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property emailMethods 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a user's single email authentication method object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property emailMethods 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.Models.EmailAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.EmailAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property emailMethods 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; - } - /// - /// Retrieve a user's single email authentication method 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; - } - /// - /// Update the navigation property emailMethods 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.Models.EmailAuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.EmailAuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder(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 EmailAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve a user's single email authentication method object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EmailAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 EmailAuthenticationMethodItemRequestBuilderGetRequestConfiguration : 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 EmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index 289281f94ce..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.ExternalAuthenticationMethods.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/externalAuthenticationMethods/$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/externalAuthenticationMethods/$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.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.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.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/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs deleted file mode 100644 index fff5ce310a1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count; -using Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.ExternalAuthenticationMethods -{ - /// - /// Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExternalAuthenticationMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of externalAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("externalAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder(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 ExternalAuthenticationMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/externalAuthenticationMethods{?%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 ExternalAuthenticationMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/externalAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of the externalAuthenticationMethod objects and their properties. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExternalAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to externalAuthenticationMethods 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.Models.ExternalAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ExternalAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExternalAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of the externalAuthenticationMethod objects and their properties. - /// - /// 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 externalAuthenticationMethods 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.Models.ExternalAuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ExternalAuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of the externalAuthenticationMethod objects and their properties. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExternalAuthenticationMethodsRequestBuilderGetQueryParameters - { - /// 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 ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration : 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 ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index cf2263c396b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,230 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.ExternalAuthenticationMethods.Item -{ - /// - /// Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExternalAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExternalAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/externalAuthenticationMethods/{externalAuthenticationMethod%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 ExternalAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/externalAuthenticationMethods/{externalAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property externalAuthenticationMethods 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties and relationships of an externalAuthenticationMethod object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExternalAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property externalAuthenticationMethods 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.Models.ExternalAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ExternalAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExternalAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property externalAuthenticationMethods 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; - } - /// - /// Read the properties and relationships of an externalAuthenticationMethod 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; - } - /// - /// Update the navigation property externalAuthenticationMethods 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.Models.ExternalAuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ExternalAuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder(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 ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties and relationships of an externalAuthenticationMethod object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration : 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 ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Count/CountRequestBuilder.cs deleted file mode 100644 index bb2c5d4bc6e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.Fido2Methods.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/fido2Methods/$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/fido2Methods/$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.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.Me.Authentication.Fido2Methods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Fido2Methods.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/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs deleted file mode 100644 index 5a3ed5c498d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.Fido2Methods.CreationOptions -{ - /// - /// Provides operations to call the creationOptions method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreationOptionsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreationOptionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods/creationOptions()", 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 CreationOptionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods/creationOptions()", rawUrl) - { - } - /// - /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WebauthnCredentialCreationOptions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. - /// - /// 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.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(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 CreationOptionsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs deleted file mode 100644 index 1fe5d087490..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs +++ /dev/null @@ -1,190 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.Fido2Methods.Count; -using Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions; -using Microsoft.Graph.Me.Authentication.Fido2Methods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.Fido2Methods -{ - /// - /// Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class Fido2MethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the creationOptions method. - public global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder CreationOptions - { - get => new global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. - /// The unique identifier of fido2AuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("fido2AuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder(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 Fido2MethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods{?%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 Fido2MethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of a user's passkey (FIDO2) authentication method objects and their properties. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Fido2AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of a user's passkey (FIDO2) authentication method objects and their properties. - /// - /// 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.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of a user's passkey (FIDO2) authentication method objects and their properties. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class Fido2MethodsRequestBuilderGetQueryParameters - { - /// 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 Fido2MethodsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index f4b611615fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,175 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.Fido2Methods.Item -{ - /// - /// Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class Fido2AuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public Fido2AuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods/{fido2AuthenticationMethod%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 Fido2AuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods/{fido2AuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property fido2Methods 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a user's single passkey (FIDO2) authentication method object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Fido2AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property fido2Methods 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; - } - /// - /// Retrieve a user's single passkey (FIDO2) authentication method 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.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder(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 Fido2AuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve a user's single passkey (FIDO2) authentication method object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 Fido2AuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Count/CountRequestBuilder.cs deleted file mode 100644 index 8090369b207..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.Methods.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/methods/$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/methods/$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.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.Me.Authentication.Methods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Methods.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/Methods/Item/AuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index 19a9db63272..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.Methods.Item -{ - /// - /// Provides operations to manage the methods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the resetPassword method. - public global::Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordRequestBuilder ResetPassword - { - get => new global::Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordRequestBuilder(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 AuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/methods/{authenticationMethod%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 AuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/methods/{authenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Retrieve the properties and relationships of an authenticationMethod object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property methods 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.Models.AuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.AuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of an authenticationMethod 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; - } - /// - /// Update the navigation property methods 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.Models.AuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve the properties and relationships of an authenticationMethod object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 AuthenticationMethodItemRequestBuilderGetRequestConfiguration : 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 AuthenticationMethodItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordPostRequestBody.cs deleted file mode 100644 index e9b72fb6036..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Authentication.Methods.Item.ResetPassword -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ResetPasswordPostRequestBody : 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 newPassword property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? NewPassword - { - get { return BackingStore?.Get("newPassword"); } - set { BackingStore?.Set("newPassword", value); } - } -#nullable restore -#else - public string NewPassword - { - get { return BackingStore?.Get("newPassword"); } - set { BackingStore?.Set("newPassword", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ResetPasswordPostRequestBody() - { - 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.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "newPassword", n => { NewPassword = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("newPassword", NewPassword); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs deleted file mode 100644 index be1f208d76e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.Methods.Item.ResetPassword -{ - /// - /// Provides operations to call the resetPassword method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResetPasswordRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResetPasswordRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/methods/{authenticationMethod%2Did}/resetPassword", 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 ResetPasswordRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/methods/{authenticationMethod%2Did}/resetPassword", rawUrl) - { - } - /// - /// Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. To reset a user's password in Azure AD B2C, use the Update user API operation and update the passwordProfile > forceChangePasswordNextSignIn object. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. - /// 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 PostAsync(global::Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PasswordResetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. To reset a user's password in Azure AD B2C, use the Update user API operation and update the passwordProfile > forceChangePasswordNextSignIn object. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. - /// - /// 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.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordRequestBuilder(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 ResetPasswordRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs deleted file mode 100644 index b2978debd55..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.Methods.Count; -using Microsoft.Graph.Me.Authentication.Methods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.Methods -{ - /// - /// Provides operations to manage the methods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the methods property of the microsoft.graph.authentication entity. - /// The unique identifier of authenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("authenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder(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 MethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/methods{?%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 MethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/methods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to methods 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.Models.AuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.AuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. - /// - /// 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 methods 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.Models.AuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.Methods.MethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Methods.MethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MethodsRequestBuilderGetQueryParameters - { - /// 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 MethodsRequestBuilderGetRequestConfiguration : 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 MethodsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index 6504047f798..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.MicrosoftAuthenticatorMethods.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/microsoftAuthenticatorMethods/$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/microsoftAuthenticatorMethods/$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.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.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.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/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs deleted file mode 100644 index a129d3bacaa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device -{ - /// - /// Provides operations to manage the device property of the microsoft.graph.microsoftAuthenticatorAuthenticationMethod entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/microsoftAuthenticatorMethods/{microsoftAuthenticatorAuthenticationMethod%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/microsoftAuthenticatorMethods/{microsoftAuthenticatorAuthenticationMethod%2Did}/device{?%24expand,%24select}", rawUrl) - { - } - /// - /// The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In. - /// - /// 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.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.DeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.DeviceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index cb240e0c0c8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,180 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.MicrosoftAuthenticatorMethods.Item -{ - /// - /// Provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the device property of the microsoft.graph.microsoftAuthenticatorAuthenticationMethod entity. - public global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.DeviceRequestBuilder Device - { - get => new global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.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 MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/microsoftAuthenticatorMethods/{microsoftAuthenticatorAuthenticationMethod%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 MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/microsoftAuthenticatorMethods/{microsoftAuthenticatorAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property microsoftAuthenticatorMethods 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The details of the Microsoft Authenticator app registered to a user for authentication. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MicrosoftAuthenticatorAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property microsoftAuthenticatorMethods 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; - } - /// - /// The details of the Microsoft Authenticator app registered to a user for authentication. - /// - /// 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.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(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 MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The details of the Microsoft Authenticator app registered to a user for authentication. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs deleted file mode 100644 index 903f20f3f3b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count; -using Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.MicrosoftAuthenticatorMethods -{ - /// - /// Provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftAuthenticatorMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of microsoftAuthenticatorAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("microsoftAuthenticatorAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(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 MicrosoftAuthenticatorMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/microsoftAuthenticatorMethods{?%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 MicrosoftAuthenticatorMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/microsoftAuthenticatorMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The details of the Microsoft Authenticator app registered to a user for authentication. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MicrosoftAuthenticatorAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The details of the Microsoft Authenticator app registered to a user for authentication. - /// - /// 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.Me.Authentication.MicrosoftAuthenticatorMethods.MicrosoftAuthenticatorMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.MicrosoftAuthenticatorMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The details of the Microsoft Authenticator app registered to a user for authentication. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters - { - /// 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 MicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Count/CountRequestBuilder.cs deleted file mode 100644 index 53d8a9c1869..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.Operations.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/operations/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/operations/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.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.Me.Authentication.Operations.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs deleted file mode 100644 index c163b4fb070..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.Operations.Item -{ - /// - /// Provides operations to manage the operations property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LongRunningOperationItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LongRunningOperationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/operations/{longRunningOperation%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 LongRunningOperationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/operations/{longRunningOperation%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property operations 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the status of a long-running operation, such as a password reset operation. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property operations 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.Models.LongRunningOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.LongRunningOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property operations for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents the status of a long-running operation, such as a password reset operation. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property operations in 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.Models.LongRunningOperation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.LongRunningOperation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder(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 LongRunningOperationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents the status of a long-running operation, such as a password reset operation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LongRunningOperationItemRequestBuilderGetQueryParameters - { - /// 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 LongRunningOperationItemRequestBuilderGetRequestConfiguration : 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 LongRunningOperationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Operations/OperationsRequestBuilder.cs deleted file mode 100644 index eac0ad2b0ac..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/OperationsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.Operations.Count; -using Microsoft.Graph.Me.Authentication.Operations.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.Operations -{ - /// - /// Provides operations to manage the operations property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the operations property of the microsoft.graph.authentication entity. - /// The unique identifier of longRunningOperation - /// A - public global::Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("longRunningOperation%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OperationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Represents the status of a long-running operation, such as a password reset operation. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to operations 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.Models.LongRunningOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.LongRunningOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the status of a long-running operation, such as a password reset operation. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to operations for 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.Models.LongRunningOperation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.LongRunningOperation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.Operations.OperationsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.Operations.OperationsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Represents the status of a long-running operation, such as a password reset operation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index 3b4ee790ea4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.PasswordMethods.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/passwordMethods/$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/passwordMethods/$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.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.Me.Authentication.PasswordMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PasswordMethods.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/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index b21c450cf49..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,126 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.PasswordMethods.Item -{ - /// - /// Provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PasswordAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PasswordAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/passwordMethods/{passwordAuthenticationMethod%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 PasswordAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/passwordMethods/{passwordAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. - /// - /// 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.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PasswordAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 PasswordAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs deleted file mode 100644 index 24d4172f91a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.PasswordMethods.Count; -using Microsoft.Graph.Me.Authentication.PasswordMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.PasswordMethods -{ - /// - /// Provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PasswordMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of passwordAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("passwordAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder(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 PasswordMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/passwordMethods{?%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 PasswordMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/passwordMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This API returns exactly one object referenced by ID 28c10230-6103-485e-b985-444c60001490, as a user can have exactly one password. For security, the password itself is never returned in the object and the password property is always null. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PasswordAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to passwordMethods 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.Models.PasswordAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.PasswordAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This API returns exactly one object referenced by ID 28c10230-6103-485e-b985-444c60001490, as a user can have exactly one password. For security, the password itself is never returned in the object and the password property is always null. - /// - /// 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 passwordMethods 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.Models.PasswordAuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PasswordAuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.PasswordMethods.PasswordMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PasswordMethods.PasswordMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This API returns exactly one object referenced by ID 28c10230-6103-485e-b985-444c60001490, as a user can have exactly one password. For security, the password itself is never returned in the object and the password property is always null. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PasswordMethodsRequestBuilderGetQueryParameters - { - /// 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 PasswordMethodsRequestBuilderGetRequestConfiguration : 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 PasswordMethodsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index a2ecdabb3eb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.PhoneMethods.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/phoneMethods/$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/phoneMethods/$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.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.Me.Authentication.PhoneMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PhoneMethods.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/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs deleted file mode 100644 index 828c1bd9eec..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn -{ - /// - /// Provides operations to call the disableSmsSignIn method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DisableSmsSignInRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DisableSmsSignInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/phoneMethods/{phoneAuthenticationMethod%2Did}/disableSmsSignIn", 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 DisableSmsSignInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/phoneMethods/{phoneAuthenticationMethod%2Did}/disableSmsSignIn", rawUrl) - { - } - /// - /// Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in. - /// - /// 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.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.DisableSmsSignInRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.DisableSmsSignInRequestBuilder(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 DisableSmsSignInRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs deleted file mode 100644 index ef765a2cdac..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn -{ - /// - /// Provides operations to call the enableSmsSignIn method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EnableSmsSignInRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public EnableSmsSignInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/phoneMethods/{phoneAuthenticationMethod%2Did}/enableSmsSignIn", 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 EnableSmsSignInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/phoneMethods/{phoneAuthenticationMethod%2Did}/enableSmsSignIn", rawUrl) - { - } - /// - /// Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled: - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled: - /// - /// 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.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.EnableSmsSignInRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.EnableSmsSignInRequestBuilder(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 EnableSmsSignInRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index 5ebf2d64f3b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,243 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn; -using Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.PhoneMethods.Item -{ - /// - /// Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhoneAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the disableSmsSignIn method. - public global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.DisableSmsSignInRequestBuilder DisableSmsSignIn - { - get => new global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.DisableSmsSignInRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the enableSmsSignIn method. - public global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.EnableSmsSignInRequestBuilder EnableSmsSignIn - { - get => new global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.EnableSmsSignInRequestBuilder(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 PhoneAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/phoneMethods/{phoneAuthenticationMethod%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 PhoneAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/phoneMethods/{phoneAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete a user's phone authentication method. This removes the phone number from the user and they'll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can't have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it can't be deleted. Have the user change their default authentication method, and then delete the number. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property phoneMethods 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.Models.PhoneAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PhoneAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a user's phone authentication method. This removes the phone number from the user and they'll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can't have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it can't be deleted. Have the user change their default authentication method, and then delete the number. - /// - /// 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; - } - /// - /// Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C 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 phoneMethods 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.Models.PhoneAuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PhoneAuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder(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 PhoneAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhoneAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 PhoneAuthenticationMethodItemRequestBuilderGetRequestConfiguration : 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 PhoneAuthenticationMethodItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs deleted file mode 100644 index 509eb9c3049..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.PhoneMethods.Count; -using Microsoft.Graph.Me.Authentication.PhoneMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.PhoneMethods -{ - /// - /// Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhoneMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of phoneAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("phoneAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder(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 PhoneMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/phoneMethods{?%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 PhoneMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/phoneMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PhoneAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to phoneMethods 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.Models.PhoneAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.PhoneAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C 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 phoneMethods 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.Models.PhoneAuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PhoneAuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.PhoneMethods.PhoneMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PhoneMethods.PhoneMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhoneMethodsRequestBuilderGetQueryParameters - { - /// 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 PhoneMethodsRequestBuilderGetRequestConfiguration : 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 PhoneMethodsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index 5359ebbaeec..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.PlatformCredentialMethods.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/platformCredentialMethods/$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/platformCredentialMethods/$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.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.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.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/PlatformCredentialMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/Item/Device/DeviceRequestBuilder.cs deleted file mode 100644 index 213f84aba75..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/Item/Device/DeviceRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.PlatformCredentialMethods.Item.Device -{ - /// - /// Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod%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/platformCredentialMethods/{platformCredentialAuthenticationMethod%2Did}/device{?%24expand,%24select}", rawUrl) - { - } - /// - /// The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. - /// - /// 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.Me.Authentication.PlatformCredentialMethods.Item.Device.DeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.DeviceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index d25a2d659e2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,181 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.PlatformCredentialMethods.Item -{ - /// - /// Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlatformCredentialAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. - public global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.DeviceRequestBuilder Device - { - get => new global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.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 PlatformCredentialAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod%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 PlatformCredentialAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property platformCredentialMethods 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties and relationships of a platformCredentialAuthenticationMethod object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlatformCredentialAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property platformCredentialMethods 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; - } - /// - /// Read the properties and relationships of a platformCredentialAuthenticationMethod 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.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder(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 PlatformCredentialAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties and relationships of a platformCredentialAuthenticationMethod object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 PlatformCredentialAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilder.cs deleted file mode 100644 index 3733f087ebb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilder.cs +++ /dev/null @@ -1,184 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count; -using Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.PlatformCredentialMethods -{ - /// - /// Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlatformCredentialMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of platformCredentialAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("platformCredentialAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder(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 PlatformCredentialMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/platformCredentialMethods{?%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 PlatformCredentialMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/platformCredentialMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of the platformCredentialAuthenticationMethod objects and their properties. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlatformCredentialAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of the platformCredentialAuthenticationMethod objects and their properties. - /// - /// 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.Me.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of the platformCredentialAuthenticationMethod objects and their properties. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlatformCredentialMethodsRequestBuilderGetQueryParameters - { - /// 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 PlatformCredentialMethodsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index 966ba5c6ce7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs deleted file mode 100644 index 9730f430df7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device -{ - /// - /// Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}/device{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}/device{?%24expand,%24select}", rawUrl) - { - } - /// - /// The registered device on which this resource account key resides. Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The registered device on which this resource account key resides. Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The registered device on which this resource account key resides. Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index 8c8c8c7b961..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,180 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item -{ - /// - /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. - public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder Device - { - get => new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResourceAccountKeyAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public ResourceAccountKeyAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property resourceAccountKeyAuthenticationMethods for me - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the resource account key credentials registered to a user for authentication on shared devices. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property resourceAccountKeyAuthenticationMethods for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents the resource account key credentials registered to a user for authentication on shared devices. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents the resource account key credentials registered to a user for authentication on shared devices. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs deleted file mode 100644 index b9522168d40..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count; -using Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.ResourceAccountKeyAuthenticationMethods -{ - /// - /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceAccountKeyAuthenticationMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of resourceAccountKeyAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("resourceAccountKeyAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResourceAccountKeyAuthenticationMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public ResourceAccountKeyAuthenticationMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Represents the resource account key credentials registered to a user for authentication on shared devices. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the resource account key credentials registered to a user for authentication on shared devices. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Represents the resource account key credentials registered to a user for authentication on shared devices. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceAccountKeyAuthenticationMethodsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index be13a5834a0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.SoftwareOathMethods.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/softwareOathMethods/$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/softwareOathMethods/$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.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.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.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/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index c1a820c9e72..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,175 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.SoftwareOathMethods.Item -{ - /// - /// Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftwareOathAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SoftwareOathAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/softwareOathMethods/{softwareOathAuthenticationMethod%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 SoftwareOathAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/softwareOathMethods/{softwareOathAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property softwareOathMethods 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a user's single Software OATH token authentication method object and its properties. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property softwareOathMethods 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; - } - /// - /// Retrieve a user's single Software OATH token authentication method object and its properties. - /// - /// 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.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder(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 SoftwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve a user's single Software OATH token authentication method object and its properties. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 SoftwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs deleted file mode 100644 index 2c28d3582a3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs +++ /dev/null @@ -1,184 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count; -using Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.SoftwareOathMethods -{ - /// - /// Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftwareOathMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of softwareOathAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("softwareOathAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder(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 SoftwareOathMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/softwareOathMethods{?%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 SoftwareOathMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/softwareOathMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of a user's software OATH token authentication method objects and their properties. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SoftwareOathAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of a user's software OATH token authentication method objects and their properties. - /// - /// 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.Me.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of a user's software OATH token authentication method objects and their properties. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftwareOathMethodsRequestBuilderGetQueryParameters - { - /// 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 SoftwareOathMethodsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index 97dd3ee80e4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.TemporaryAccessPassMethods.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/temporaryAccessPassMethods/$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/temporaryAccessPassMethods/$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.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.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.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/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index 288cfdc2f78..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,174 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.TemporaryAccessPassMethods.Item -{ - /// - /// Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TemporaryAccessPassAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TemporaryAccessPassAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/temporaryAccessPassMethods/{temporaryAccessPassAuthenticationMethod%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 TemporaryAccessPassAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/temporaryAccessPassMethods/{temporaryAccessPassAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property temporaryAccessPassMethods 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property temporaryAccessPassMethods for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. - /// - /// 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.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder(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 TemporaryAccessPassAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs deleted file mode 100644 index f9cb8f8953c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count; -using Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.TemporaryAccessPassMethods -{ - /// - /// Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TemporaryAccessPassMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of temporaryAccessPassAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("temporaryAccessPassAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder(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 TemporaryAccessPassMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/temporaryAccessPassMethods{?%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 TemporaryAccessPassMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/temporaryAccessPassMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to temporaryAccessPassMethods 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.Models.TemporaryAccessPassAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. - /// - /// 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 temporaryAccessPassMethods 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.Models.TemporaryAccessPassAuthenticationMethod body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.TemporaryAccessPassMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.TemporaryAccessPassMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TemporaryAccessPassMethodsRequestBuilderGetQueryParameters - { - /// 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 TemporaryAccessPassMethodsRequestBuilderGetRequestConfiguration : 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 TemporaryAccessPassMethodsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs deleted file mode 100644 index 2e5610da8b7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Authentication.WindowsHelloForBusinessMethods.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/windowsHelloForBusinessMethods/$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/windowsHelloForBusinessMethods/$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.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.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.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/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs deleted file mode 100644 index 3510821f463..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device -{ - /// - /// Provides operations to manage the device property of the microsoft.graph.windowsHelloForBusinessAuthenticationMethod entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/windowsHelloForBusinessMethods/{windowsHelloForBusinessAuthenticationMethod%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/windowsHelloForBusinessMethods/{windowsHelloForBusinessAuthenticationMethod%2Did}/device{?%24expand,%24select}", rawUrl) - { - } - /// - /// The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. - /// - /// 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.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.DeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.DeviceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs deleted file mode 100644 index db7b318a234..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs +++ /dev/null @@ -1,180 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.WindowsHelloForBusinessMethods.Item -{ - /// - /// Provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the device property of the microsoft.graph.windowsHelloForBusinessAuthenticationMethod entity. - public global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.DeviceRequestBuilder Device - { - get => new global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.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 WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/windowsHelloForBusinessMethods/{windowsHelloForBusinessAuthenticationMethod%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 WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/windowsHelloForBusinessMethods/{windowsHelloForBusinessAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property windowsHelloForBusinessMethods 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the Windows Hello for Business authentication method registered to a user for authentication. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsHelloForBusinessAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property windowsHelloForBusinessMethods for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents the Windows Hello for Business authentication method registered to a user for authentication. - /// - /// 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.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder(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 WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents the Windows Hello for Business authentication method registered to a user for authentication. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters - { - /// 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 WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs deleted file mode 100644 index 9e5134efb01..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count; -using Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Authentication.WindowsHelloForBusinessMethods -{ - /// - /// Provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsHelloForBusinessMethodsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity. - /// The unique identifier of windowsHelloForBusinessAuthenticationMethod - /// A - public global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("windowsHelloForBusinessAuthenticationMethod%2Did", position); - return new global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder(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 WindowsHelloForBusinessMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/windowsHelloForBusinessMethods{?%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 WindowsHelloForBusinessMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/windowsHelloForBusinessMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Represents the Windows Hello for Business authentication method registered to a user for authentication. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsHelloForBusinessAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the Windows Hello for Business authentication method registered to a user for authentication. - /// - /// 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.Me.Authentication.WindowsHelloForBusinessMethods.WindowsHelloForBusinessMethodsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.WindowsHelloForBusinessMethodsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Represents the Windows Hello for Business authentication method registered to a user for authentication. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters - { - /// 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 WindowsHelloForBusinessMethodsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs deleted file mode 100644 index 07fe1235312..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AllowedCalendarSharingRolesWithUserGetResponse : global::Microsoft.Graph.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.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse(); - } - /// - /// 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.GetCollectionOfEnumValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfEnumValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs deleted file mode 100644 index e18c43ce0b0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ /dev/null @@ -1,159 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.AllowedCalendarSharingRolesWithUser -{ - /// - /// Provides operations to call the allowedCalendarSharingRoles method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedCalendarSharingRolesWithUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - /// Usage: User='{User}' - public AllowedCalendarSharingRolesWithUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string user = "") : base(requestAdapter, "{+baseurl}/me/calendar/allowedCalendarSharingRoles(User='{User}'){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - if (!string.IsNullOrWhiteSpace(user)) PathParameters.Add("User", user); - } - /// - /// 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 AllowedCalendarSharingRolesWithUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/allowedCalendarSharingRoles(User='{User}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - /// 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 GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - /// 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 GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - /// 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.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters - { - /// 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 AllowedCalendarSharingRolesWithUserRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserResponse.cs deleted file mode 100644 index 9c2d7f4db4b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendar.AllowedCalendarSharingRolesWithUser -{ - [Obsolete("This class is obsolete. Use AllowedCalendarSharingRolesWithUserGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AllowedCalendarSharingRolesWithUserResponse : global::Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse, 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.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs deleted file mode 100644 index 6c6c6a25b97..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendar.CalendarPermissions.Count; -using Microsoft.Graph.Me.Calendar.CalendarPermissions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.CalendarPermissions -{ - /// - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - /// The unique identifier of calendarPermission - /// A - public global::Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("calendarPermission%2Did", position); - return new global::Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder(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 CalendarPermissionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/calendarPermissions{?%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 CalendarPermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. - /// 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 PostAsync(global::Microsoft.Graph.Models.CalendarPermission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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 a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. - /// - /// 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.Models.CalendarPermission body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.CalendarPermissions.CalendarPermissionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.CalendarPermissions.CalendarPermissionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionsRequestBuilderGetQueryParameters - { - /// 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 CalendarPermissionsRequestBuilderGetRequestConfiguration : 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 CalendarPermissionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs deleted file mode 100644 index 192ae2179ef..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.CalendarPermissions.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/calendar/calendarPermissions/$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/calendar/calendarPermissions/$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.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.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.CalendarPermissions.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/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs deleted file mode 100644 index 011a8ba2feb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.CalendarPermissions.Item -{ - /// - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarPermissionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/calendarPermissions/{calendarPermission%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 CalendarPermissionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property calendarPermissions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property calendarPermissions 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; - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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 calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder(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 CalendarPermissionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionItemRequestBuilderGetQueryParameters - { - /// 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 CalendarPermissionItemRequestBuilderGetRequestConfiguration : 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 CalendarPermissionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarRequestBuilder.cs deleted file mode 100644 index e352d512555..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarRequestBuilder.cs +++ /dev/null @@ -1,223 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser; -using Microsoft.Graph.Me.Calendar.CalendarPermissions; -using Microsoft.Graph.Me.Calendar.CalendarView; -using Microsoft.Graph.Me.Calendar.Events; -using Microsoft.Graph.Me.Calendar.GetSchedule; -using Microsoft.Graph.Me.Calendar.PermanentDelete; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar -{ - /// - /// Provides operations to manage the calendar property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - public global::Microsoft.Graph.Me.Calendar.CalendarPermissions.CalendarPermissionsRequestBuilder CalendarPermissions - { - get => new global::Microsoft.Graph.Me.Calendar.CalendarPermissions.CalendarPermissionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendarView property of the microsoft.graph.calendar entity. - public global::Microsoft.Graph.Me.Calendar.CalendarView.CalendarViewRequestBuilder CalendarView - { - get => new global::Microsoft.Graph.Me.Calendar.CalendarView.CalendarViewRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - public global::Microsoft.Graph.Me.Calendar.Events.EventsRequestBuilder Events - { - get => new global::Microsoft.Graph.Me.Calendar.Events.EventsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getSchedule method. - public global::Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleRequestBuilder GetSchedule - { - get => new global::Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.Calendar.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.Calendar.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Provides operations to call the allowedCalendarSharingRoles method. - /// - /// A - /// Usage: User='{User}' - public global::Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder AllowedCalendarSharingRolesWithUser(string user) - { - if(string.IsNullOrEmpty(user)) throw new ArgumentNullException(nameof(user)); - return new global::Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder(PathParameters, RequestAdapter, user); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar{?%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 CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the properties and relationships of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. - /// 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 PatchAsync(global::Microsoft.Graph.Models.Calendar body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the properties and relationships of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: - /// - /// 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 properties of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. - /// - /// 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.Models.Calendar body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.CalendarRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.CalendarRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the properties and relationships of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilderGetQueryParameters - { - /// 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 CalendarRequestBuilderGetRequestConfiguration : 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 CalendarRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/CalendarViewRequestBuilder.cs deleted file mode 100644 index b278725d6fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/CalendarViewRequestBuilder.cs +++ /dev/null @@ -1,191 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendar.CalendarView.Delta; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.CalendarView -{ - /// - /// Provides operations to manage the calendarView property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarViewRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaRequestBuilder(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 CalendarViewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 CalendarViewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. - /// - /// 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.Me.Calendar.CalendarView.CalendarViewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.CalendarView.CalendarViewRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarViewRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 CalendarViewRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaGetResponse.cs deleted file mode 100644 index 85e24d88c32..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendar.CalendarView.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Calendar.CalendarView.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 78a867ba835..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.CalendarView.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/calendarView/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/calendarView/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.Calendar.CalendarView.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaResponse.cs deleted file mode 100644 index 63e420bb9fa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendar.CalendarView.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaGetResponse, 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.Me.Calendar.CalendarView.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Count/CountRequestBuilder.cs deleted file mode 100644 index bde0afd4327..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.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/calendar/events/$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/calendar/events/$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.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.Me.Calendar.Events.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.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/Calendar/Events/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaGetResponse.cs deleted file mode 100644 index 6154a712147..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendar.Events.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Calendar.Events.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 6e97198908a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.Events.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.Events.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.Calendar.Events.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaResponse.cs deleted file mode 100644 index 5b408560928..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendar.Events.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Calendar.Events.Delta.DeltaGetResponse, 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.Me.Calendar.Events.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/EventsRequestBuilder.cs deleted file mode 100644 index 890b61f7cba..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/EventsRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendar.Events.Count; -using Microsoft.Graph.Me.Calendar.Events.Delta; -using Microsoft.Graph.Me.Calendar.Events.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.Events -{ - /// - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Calendar.Events.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - /// The unique identifier of event - /// A - public global::Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("event%2Did", position); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder(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 EventsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events{?%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 EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to events 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.Models.Event body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. - /// - /// 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 events 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.Models.Event body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.EventsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.EventsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventsRequestBuilderGetQueryParameters - { - /// 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 EventsRequestBuilderGetRequestConfiguration : 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 EventsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs deleted file mode 100644 index 5af7db2fcc4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#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.Me.Calendar.Events.Item.Accept -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AcceptPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public AcceptPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.Calendar.Events.Item.Accept.AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs deleted file mode 100644 index d4bf7106e54..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Accept -{ - /// - /// Provides operations to call the accept method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AcceptRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AcceptRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/accept", 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 AcceptRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/accept", rawUrl) - { - } - /// - /// Accept the specified event in a user calendar. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Accept the specified event in a user calendar. - /// - /// 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.Me.Calendar.Events.Item.Accept.AcceptPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptRequestBuilder(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 AcceptRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs deleted file mode 100644 index b55fdc08346..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count; -using Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession; -using Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.Events.Item.Attachments -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createUploadSession method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// The unique identifier of attachment - /// A - public global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachment%2Did", position); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/attachments{?%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 AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to attachments 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.Models.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// 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 attachments 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.Models.Attachment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilderGetQueryParameters - { - /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs deleted file mode 100644 index ef7e52692e0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Attachments.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/calendar/events/{event%2Did}/attachments/$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/calendar/events/{event%2Did}/attachments/$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.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.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.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/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs deleted file mode 100644 index c6a971ab1cf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Attachments.CreateUploadSession -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateUploadSessionPostRequestBody : 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 AttachmentItem property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.AttachmentItem? AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.AttachmentItem AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public CreateUploadSessionPostRequestBody() - { - 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.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(global::Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs deleted file mode 100644 index 3f86dc0ad8d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.Events.Item.Attachments.CreateUploadSession -{ - /// - /// Provides operations to call the createUploadSession method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/attachments/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/attachments/createUploadSession", rawUrl) - { - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// 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 PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// - /// 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.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs deleted file mode 100644 index 0c751321306..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ /dev/null @@ -1,174 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.Events.Item.Attachments.Item -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttachmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/attachments/{attachment%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 AttachmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attachments 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attachments 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; - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// 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.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs deleted file mode 100644 index 2b37f481c1e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.Events.Item.Calendar -{ - /// - /// Provides operations to manage the calendar property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/calendar{?%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 CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/calendar{?%24expand,%24select}", rawUrl) - { - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - /// 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.Me.Calendar.Events.Item.Calendar.CalendarRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Calendar.CalendarRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilderGetQueryParameters - { - /// 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 CalendarRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs deleted file mode 100644 index 402ce79fd60..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Calendar.Events.Item.Cancel -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CancelPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CancelPostRequestBody() - { - 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.Me.Calendar.Events.Item.Cancel.CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs deleted file mode 100644 index fb7762bb575..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Cancel -{ - /// - /// Provides operations to call the cancel method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CancelRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CancelRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/cancel", 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 CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/cancel", rawUrl) - { - } - /// - /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. - /// - /// 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.Me.Calendar.Events.Item.Cancel.CancelPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelRequestBuilder(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 CancelRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs deleted file mode 100644 index 451a41dcc1d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Decline -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeclinePostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ProposedNewTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TimeSlot? ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TimeSlot ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public DeclinePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.Calendar.Events.Item.Decline.DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclinePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(global::Microsoft.Graph.Models.TimeSlot.CreateFromDiscriminatorValue); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs deleted file mode 100644 index 48c0f0627ac..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Decline -{ - /// - /// Provides operations to call the decline method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeclineRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeclineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/decline", 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 DeclineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/decline", rawUrl) - { - } - /// - /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclinePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclinePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// - /// 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.Me.Calendar.Events.Item.Decline.DeclinePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclinePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclineRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclineRequestBuilder(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 DeclineRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs deleted file mode 100644 index ce4e30999ff..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.DismissReminder -{ - /// - /// Provides operations to call the dismissReminder method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DismissReminderRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DismissReminderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/dismissReminder", 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 DismissReminderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/dismissReminder", rawUrl) - { - } - /// - /// Dismiss a reminder that has been triggered for an event in a user calendar. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Dismiss a reminder that has been triggered for an event in a user calendar. - /// - /// 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.Me.Calendar.Events.Item.DismissReminder.DismissReminderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.DismissReminderRequestBuilder(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 DismissReminderRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/EventItemRequestBuilder.cs deleted file mode 100644 index f9105695f15..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/EventItemRequestBuilder.cs +++ /dev/null @@ -1,301 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendar.Events.Item.Accept; -using Microsoft.Graph.Me.Calendar.Events.Item.Attachments; -using Microsoft.Graph.Me.Calendar.Events.Item.Calendar; -using Microsoft.Graph.Me.Calendar.Events.Item.Cancel; -using Microsoft.Graph.Me.Calendar.Events.Item.Decline; -using Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder; -using Microsoft.Graph.Me.Calendar.Events.Item.Extensions; -using Microsoft.Graph.Me.Calendar.Events.Item.Forward; -using Microsoft.Graph.Me.Calendar.Events.Item.Instances; -using Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete; -using Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder; -using Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.Events.Item -{ - /// - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the accept method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptRequestBuilder Accept - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.AttachmentsRequestBuilder Attachments - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendar property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Calendar.CalendarRequestBuilder Calendar - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Calendar.CalendarRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the cancel method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelRequestBuilder Cancel - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the decline method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclineRequestBuilder Decline - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclineRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the dismissReminder method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.DismissReminderRequestBuilder DismissReminder - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.DismissReminderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the forward method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardRequestBuilder Forward - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the instances property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.InstancesRequestBuilder Instances - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.InstancesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the snoozeReminder method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder SnoozeReminder - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the tentativelyAccept method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder TentativelyAccept - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder(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 EventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%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 EventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property events 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property events 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.Models.Event body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property events 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; - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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 events 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.Models.Event body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder(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 EventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventItemRequestBuilderGetQueryParameters - { - /// 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 EventItemRequestBuilderGetRequestConfiguration : 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 EventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index b2f9ce05a6d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Extensions.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/calendar/events/{event%2Did}/extensions/$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/calendar/events/{event%2Did}/extensions/$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.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.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.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/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index ddeedb33da7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count; -using Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.Events.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index cfd7f65374b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.Events.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs deleted file mode 100644 index 2f0b2a4cf7c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Forward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ForwardPostRequestBody() - { - 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.Me.Calendar.Events.Item.Forward.ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs deleted file mode 100644 index b6dcb2ff390..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Forward -{ - /// - /// Provides operations to call the forward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/forward", 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 ForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/forward", rawUrl) - { - } - /// - /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardRequestBuilder(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 ForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaGetResponse.cs deleted file mode 100644 index dc380daf507..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Calendar.Events.Item.Instances.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 9c3c8b6df75..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.Instances.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/instances/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/instances/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.Calendar.Events.Item.Instances.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaResponse.cs deleted file mode 100644 index 9d11922bf77..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendar.Events.Item.Instances.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaGetResponse, 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.Me.Calendar.Events.Item.Instances.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs deleted file mode 100644 index 0f487bed8c8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs +++ /dev/null @@ -1,190 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendar.Events.Item.Instances -{ - /// - /// Provides operations to manage the instances property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaRequestBuilder(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 InstancesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 InstancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences canceled from the series. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences canceled from the series. Navigation property. Read-only. Nullable. - /// - /// 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.Me.Calendar.Events.Item.Instances.InstancesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.Instances.InstancesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences canceled from the series. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 InstancesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index d1290037c34..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.Calendar.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs deleted file mode 100644 index b8bd46f85ae..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.SnoozeReminder -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SnoozeReminderPostRequestBody : 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 NewReminderTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? NewReminderTime - { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone NewReminderTime - { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SnoozeReminderPostRequestBody() - { - 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.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs deleted file mode 100644 index de80d571d0e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.SnoozeReminder -{ - /// - /// Provides operations to call the snoozeReminder method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SnoozeReminderRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SnoozeReminderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/snoozeReminder", 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 SnoozeReminderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/snoozeReminder", rawUrl) - { - } - /// - /// Postpone a reminder for an event in a user calendar until a new time. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Postpone a reminder for an event in a user calendar until a new time. - /// - /// 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.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder(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 SnoozeReminderRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs deleted file mode 100644 index 28c62efa19a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.TentativelyAccept -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TentativelyAcceptPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ProposedNewTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TimeSlot? ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TimeSlot ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public TentativelyAcceptPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(global::Microsoft.Graph.Models.TimeSlot.CreateFromDiscriminatorValue); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs deleted file mode 100644 index 7274e88989a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.Events.Item.TentativelyAccept -{ - /// - /// Provides operations to call the tentativelyAccept method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TentativelyAcceptRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TentativelyAcceptRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/tentativelyAccept", 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 TentativelyAcceptRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/events/{event%2Did}/tentativelyAccept", rawUrl) - { - } - /// - /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// - /// 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.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder(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 TentativelyAcceptRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostRequestBody.cs deleted file mode 100644 index 9f0be9f592b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostRequestBody.cs +++ /dev/null @@ -1,126 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.GetSchedule -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetSchedulePostRequestBody : 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 AvailabilityViewInterval property - public int? AvailabilityViewInterval - { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The EndTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? EndTime - { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone EndTime - { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } - } -#endif - /// The Schedules property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Schedules - { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } - } -#nullable restore -#else - public List Schedules - { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } - } -#endif - /// The StartTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? StartTime - { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone StartTime - { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public GetSchedulePostRequestBody() - { - 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.Me.Calendar.GetSchedule.GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - { "EndTime", n => { EndTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - { "Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "StartTime", n => { StartTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostResponse.cs deleted file mode 100644 index 193098ec0eb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendar.GetSchedule -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetSchedulePostResponse : global::Microsoft.Graph.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.Me.Calendar.GetSchedule.GetSchedulePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostResponse(); - } - /// - /// 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.Models.ScheduleInformation.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleRequestBuilder.cs deleted file mode 100644 index 39275f8f959..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.GetSchedule -{ - /// - /// Provides operations to call the getSchedule method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetScheduleRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetScheduleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/getSchedule", 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 GetScheduleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/getSchedule", rawUrl) - { - } - /// - /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. - /// 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 PostAsGetSchedulePostResponseAsync(global::Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsGetSchedulePostResponseAsync(global::Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. - /// 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 PostAsGetSchedulePostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. - /// - /// 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.Me.Calendar.GetSchedule.GetSchedulePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleRequestBuilder(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 GetScheduleRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleResponse.cs deleted file mode 100644 index 4039bd2b13b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendar.GetSchedule -{ - [Obsolete("This class is obsolete. Use GetSchedulePostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetScheduleResponse : global::Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostResponse, 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.Me.Calendar.GetSchedule.GetScheduleResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index 74e3efc7496..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendar.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendar/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.Calendar.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendar.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/CalendarGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/CalendarGroupsRequestBuilder.cs deleted file mode 100644 index 107d68b81d2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/CalendarGroupsRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Count; -using Microsoft.Graph.Me.CalendarGroups.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups -{ - /// - /// Provides operations to manage the calendarGroups property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarGroupsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendarGroups property of the microsoft.graph.user entity. - /// The unique identifier of calendarGroup - /// A - public global::Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("calendarGroup%2Did", position); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder(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 CalendarGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups{?%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 CalendarGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the user's calendar groups. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Use this API to create a new CalendarGroup. - /// 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 PostAsync(global::Microsoft.Graph.Models.CalendarGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CalendarGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the user's calendar 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; - } - /// - /// Use this API to create a new CalendarGroup. - /// - /// 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.Models.CalendarGroup body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CalendarGroup body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.CalendarGroupsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.CalendarGroupsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the user's calendar groups. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarGroupsRequestBuilderGetQueryParameters - { - /// 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 CalendarGroupsRequestBuilderGetRequestConfiguration : 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 CalendarGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Count/CountRequestBuilder.cs deleted file mode 100644 index 14aaa6c94aa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.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/calendarGroups/$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/calendarGroups/$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.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.Me.CalendarGroups.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.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/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs deleted file mode 100644 index b7e909c234e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item -{ - /// - /// Provides operations to manage the calendarGroups property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarGroupItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.CalendarsRequestBuilder Calendars - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.CalendarsRequestBuilder(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 CalendarGroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%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 CalendarGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete a calendar group other than the default calendar group. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of a calendar group object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of calendargroup object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.CalendarGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CalendarGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a calendar group other than the default calendar group. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation 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; - } - /// - /// Retrieve the properties and relationships of a calendar group 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; - } - /// - /// Update the properties of calendargroup object. - /// - /// 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.Models.CalendarGroup body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CalendarGroup body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder(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 CalendarGroupItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve the properties and relationships of a calendar group object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarGroupItemRequestBuilderGetQueryParameters - { - /// 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 CalendarGroupItemRequestBuilderGetRequestConfiguration : 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 CalendarGroupItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs deleted file mode 100644 index 7f0f0be5f45..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars -{ - /// - /// Provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity. - /// The unique identifier of calendar - /// A - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("calendar%2Did", position); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder(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 CalendarsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars{?%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 CalendarsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of calendars belonging to a calendar group. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Use this API to create a new calendar in a calendar group for a user. - /// 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 PostAsync(global::Microsoft.Graph.Models.Calendar body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of calendars belonging to a calendar group. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Use this API to create a new calendar in a calendar group for a user. - /// - /// 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.Models.Calendar body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.CalendarsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.CalendarsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of calendars belonging to a calendar group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarsRequestBuilderGetQueryParameters - { - /// 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 CalendarsRequestBuilderGetRequestConfiguration : 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 CalendarsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs deleted file mode 100644 index a49809f1922..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.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/calendarGroups/{calendarGroup%2Did}/calendars/$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/calendarGroups/{calendarGroup%2Did}/calendars/$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.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.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.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/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs deleted file mode 100644 index 9254b99bbab..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Calendar.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index ed5f26ee760..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs deleted file mode 100644 index ebac00ca85c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.CalendarGroups.Item.Calendars.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse, 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.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs deleted file mode 100644 index 91072d488eb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AllowedCalendarSharingRolesWithUserGetResponse : global::Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse(); - } - /// - /// 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.GetCollectionOfEnumValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfEnumValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs deleted file mode 100644 index a022aef1885..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ /dev/null @@ -1,159 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser -{ - /// - /// Provides operations to call the allowedCalendarSharingRoles method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedCalendarSharingRolesWithUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - /// Usage: User='{User}' - public AllowedCalendarSharingRolesWithUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string user = "") : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/allowedCalendarSharingRoles(User='{User}'){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - if (!string.IsNullOrWhiteSpace(user)) PathParameters.Add("User", user); - } - /// - /// 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 AllowedCalendarSharingRolesWithUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/allowedCalendarSharingRoles(User='{User}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - /// 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 GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - /// 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 GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters - { - /// 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 AllowedCalendarSharingRolesWithUserRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserResponse.cs deleted file mode 100644 index 76153fee883..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser -{ - [Obsolete("This class is obsolete. Use AllowedCalendarSharingRolesWithUserGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AllowedCalendarSharingRolesWithUserResponse : global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse, 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.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs deleted file mode 100644 index 4e263456f1e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs +++ /dev/null @@ -1,270 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item -{ - /// - /// Provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder CalendarPermissions - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendarView property of the microsoft.graph.calendar entity. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.CalendarViewRequestBuilder CalendarView - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.CalendarViewRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.EventsRequestBuilder Events - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.EventsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getSchedule method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleRequestBuilder GetSchedule - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Provides operations to call the allowedCalendarSharingRoles method. - /// - /// A - /// Usage: User='{User}' - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder AllowedCalendarSharingRolesWithUser(string user) - { - if(string.IsNullOrEmpty(user)) throw new ArgumentNullException(nameof(user)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder(PathParameters, RequestAdapter, user); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%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 CalendarItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property calendars 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The calendars in the calendar group. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property calendars 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.Models.Calendar body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property calendars 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; - } - /// - /// The calendars in the calendar group. Navigation property. Read-only. Nullable. - /// - /// 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 calendars 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.Models.Calendar body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder(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 CalendarItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The calendars in the calendar group. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarItemRequestBuilderGetQueryParameters - { - /// 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 CalendarItemRequestBuilderGetRequestConfiguration : 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 CalendarItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs deleted file mode 100644 index af121004f89..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions -{ - /// - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - /// The unique identifier of calendarPermission - /// A - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("calendarPermission%2Did", position); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder(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 CalendarPermissionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%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 CalendarPermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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 calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionsRequestBuilderGetQueryParameters - { - /// 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 CalendarPermissionsRequestBuilderGetRequestConfiguration : 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 CalendarPermissionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs deleted file mode 100644 index 3c01410ed19..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.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/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/$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/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/$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.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.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.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/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs deleted file mode 100644 index 10f0f3f8c46..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item -{ - /// - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarPermissionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%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 CalendarPermissionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property calendarPermissions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property calendarPermissions 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; - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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 calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder(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 CalendarPermissionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionItemRequestBuilderGetQueryParameters - { - /// 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 CalendarPermissionItemRequestBuilderGetRequestConfiguration : 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 CalendarPermissionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs deleted file mode 100644 index 32b622bb8fa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs +++ /dev/null @@ -1,190 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.CalendarView -{ - /// - /// Provides operations to manage the calendarView property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarViewRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder(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 CalendarViewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 CalendarViewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The calendar view for the calendar. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The calendar view for the calendar. Navigation property. Read-only. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.CalendarView.CalendarViewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.CalendarViewRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The calendar view for the calendar. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarViewRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 CalendarViewRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaGetResponse.cs deleted file mode 100644 index ec7b709898a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index c00f906a675..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaResponse.cs deleted file mode 100644 index c50be80df4d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaGetResponse, 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.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs deleted file mode 100644 index 1d03be5904f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.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/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/$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/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/$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.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.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.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/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaGetResponse.cs deleted file mode 100644 index c2c4b9fea5a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index d49fdf3ac6a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaResponse.cs deleted file mode 100644 index 1428253493f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.CalendarGroups.Item.Calendars.Item.Events.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaGetResponse, 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.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs deleted file mode 100644 index a9f8770b100..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events -{ - /// - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - /// The unique identifier of event - /// A - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("event%2Did", position); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder(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 EventsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events{?%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 EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to events 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.Models.Event body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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 events 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.Models.Event body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.EventsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.EventsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventsRequestBuilderGetQueryParameters - { - /// 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 EventsRequestBuilderGetRequestConfiguration : 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 EventsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs deleted file mode 100644 index 7dddca6bdd8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AcceptPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public AcceptPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs deleted file mode 100644 index 41d52d39601..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept -{ - /// - /// Provides operations to call the accept method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AcceptRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AcceptRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/accept", 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 AcceptRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/accept", rawUrl) - { - } - /// - /// Accept the specified event in a user calendar. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Accept the specified event in a user calendar. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder(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 AcceptRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs deleted file mode 100644 index 468ced5ff8a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createUploadSession method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// The unique identifier of attachment - /// A - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachment%2Did", position); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%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 AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to attachments 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.Models.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// 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 attachments 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.Models.Attachment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilderGetQueryParameters - { - /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs deleted file mode 100644 index ab49dcc194f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.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/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$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/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$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.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.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/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs deleted file mode 100644 index b0f04561c4e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateUploadSessionPostRequestBody : 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 AttachmentItem property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.AttachmentItem? AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.AttachmentItem AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public CreateUploadSessionPostRequestBody() - { - 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(global::Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs deleted file mode 100644 index b527ec89461..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession -{ - /// - /// Provides operations to call the createUploadSession method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/createUploadSession", rawUrl) - { - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// 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 PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs deleted file mode 100644 index f03a8523551..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ /dev/null @@ -1,174 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttachmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/{attachment%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 AttachmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attachments 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attachments 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; - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs deleted file mode 100644 index dd9657b3d26..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar -{ - /// - /// Provides operations to manage the calendar property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%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 CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}", rawUrl) - { - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilderGetQueryParameters - { - /// 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 CalendarRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs deleted file mode 100644 index 2fa3f27c72c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CancelPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CancelPostRequestBody() - { - 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs deleted file mode 100644 index 6d3b9ef84f3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel -{ - /// - /// Provides operations to call the cancel method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CancelRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CancelRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/cancel", 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 CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/cancel", rawUrl) - { - } - /// - /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder(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 CancelRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs deleted file mode 100644 index 301b57c9c64..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeclinePostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ProposedNewTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TimeSlot? ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TimeSlot ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public DeclinePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(global::Microsoft.Graph.Models.TimeSlot.CreateFromDiscriminatorValue); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs deleted file mode 100644 index 9ffbe815629..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline -{ - /// - /// Provides operations to call the decline method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeclineRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeclineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/decline", 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 DeclineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/decline", rawUrl) - { - } - /// - /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder(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 DeclineRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs deleted file mode 100644 index fbcbcb46492..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder -{ - /// - /// Provides operations to call the dismissReminder method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DismissReminderRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DismissReminderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/dismissReminder", 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 DismissReminderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/dismissReminder", rawUrl) - { - } - /// - /// Dismiss a reminder that has been triggered for an event in a user calendar. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Dismiss a reminder that has been triggered for an event in a user calendar. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder(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 DismissReminderRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs deleted file mode 100644 index bd625450360..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs +++ /dev/null @@ -1,301 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item -{ - /// - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the accept method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder Accept - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder Attachments - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendar property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder Calendar - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the cancel method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder Cancel - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the decline method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder Decline - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the dismissReminder method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder DismissReminder - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the forward method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder Forward - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the instances property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder Instances - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the snoozeReminder method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder SnoozeReminder - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the tentativelyAccept method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder TentativelyAccept - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder(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 EventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%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 EventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property events 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property events 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.Models.Event body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property events 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; - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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 events 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.Models.Event body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder(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 EventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventItemRequestBuilderGetQueryParameters - { - /// 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 EventItemRequestBuilderGetRequestConfiguration : 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 EventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 5d99297e0e9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.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/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$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/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$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.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.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/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index 3866ab1cfe3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count; -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 0818a17bd3b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs deleted file mode 100644 index 27812a9e82f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ForwardPostRequestBody() - { - 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs deleted file mode 100644 index 6d9107023fa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward -{ - /// - /// Provides operations to call the forward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/forward", 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 ForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/forward", rawUrl) - { - } - /// - /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder(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 ForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs deleted file mode 100644 index 8355dbb580e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 34a95ead6ab..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaResponse.cs deleted file mode 100644 index cf0175640b5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse, 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs deleted file mode 100644 index 8c1df5e0988..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs +++ /dev/null @@ -1,190 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances -{ - /// - /// Provides operations to manage the instances property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder(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 InstancesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 InstancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences canceled from the series. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences canceled from the series. Navigation property. Read-only. Nullable. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences canceled from the series. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 InstancesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index 436b40b1746..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs deleted file mode 100644 index 6377ff099c0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SnoozeReminderPostRequestBody : 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 NewReminderTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? NewReminderTime - { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone NewReminderTime - { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SnoozeReminderPostRequestBody() - { - 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs deleted file mode 100644 index 49672c7a8bc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder -{ - /// - /// Provides operations to call the snoozeReminder method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SnoozeReminderRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SnoozeReminderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/snoozeReminder", 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 SnoozeReminderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/snoozeReminder", rawUrl) - { - } - /// - /// Postpone a reminder for an event in a user calendar until a new time. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Postpone a reminder for an event in a user calendar until a new time. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder(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 SnoozeReminderRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs deleted file mode 100644 index 3f400b3f5cf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TentativelyAcceptPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ProposedNewTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TimeSlot? ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TimeSlot ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public TentativelyAcceptPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(global::Microsoft.Graph.Models.TimeSlot.CreateFromDiscriminatorValue); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs deleted file mode 100644 index 77a99dc4607..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept -{ - /// - /// Provides operations to call the tentativelyAccept method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TentativelyAcceptRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TentativelyAcceptRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/tentativelyAccept", 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 TentativelyAcceptRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/tentativelyAccept", rawUrl) - { - } - /// - /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder(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 TentativelyAcceptRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs deleted file mode 100644 index 45bc9d3d931..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs +++ /dev/null @@ -1,126 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.GetSchedule -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetSchedulePostRequestBody : 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 AvailabilityViewInterval property - public int? AvailabilityViewInterval - { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The EndTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? EndTime - { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone EndTime - { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } - } -#endif - /// The Schedules property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Schedules - { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } - } -#nullable restore -#else - public List Schedules - { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } - } -#endif - /// The StartTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? StartTime - { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone StartTime - { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public GetSchedulePostRequestBody() - { - 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.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - { "EndTime", n => { EndTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - { "Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "StartTime", n => { StartTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostResponse.cs deleted file mode 100644 index d24e092e7c3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetSchedulePostResponse : global::Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostResponse(); - } - /// - /// 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.Models.ScheduleInformation.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs deleted file mode 100644 index d2f3e4d18dc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.GetSchedule -{ - /// - /// Provides operations to call the getSchedule method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetScheduleRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetScheduleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/getSchedule", 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 GetScheduleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/getSchedule", rawUrl) - { - } - /// - /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. - /// 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 PostAsGetSchedulePostResponseAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsGetSchedulePostResponseAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. - /// 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 PostAsGetSchedulePostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleRequestBuilder(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 GetScheduleRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleResponse.cs deleted file mode 100644 index 7ae93941118..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.CalendarGroups.Item.Calendars.Item.GetSchedule -{ - [Obsolete("This class is obsolete. Use GetSchedulePostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetScheduleResponse : global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostResponse, 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.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index ac579420735..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/CalendarViewRequestBuilder.cs deleted file mode 100644 index 51a59745af8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/CalendarViewRequestBuilder.cs +++ /dev/null @@ -1,191 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CalendarView.Delta; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CalendarView -{ - /// - /// Provides operations to manage the calendarView property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarViewRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.CalendarView.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.CalendarView.Delta.DeltaRequestBuilder(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 CalendarViewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 CalendarViewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range, from the user's default calendar,or from some other calendar of the user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range, from the user's default calendar,or from some other calendar of the user. - /// - /// 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.Me.CalendarView.CalendarViewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarView.CalendarViewRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range, from the user's default calendar,or from some other calendar of the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarViewRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 CalendarViewRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaGetResponse.cs deleted file mode 100644 index 1976be1cf19..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.CalendarView.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.CalendarView.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarView.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 883f30a62fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CalendarView.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarView/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarView/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarView.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CalendarView.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.CalendarView.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CalendarView.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaResponse.cs deleted file mode 100644 index 6d39acdaa08..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.CalendarView.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.CalendarView.Delta.DeltaGetResponse, 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.Me.CalendarView.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CalendarView.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs deleted file mode 100644 index f1635f7e9af..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendars.Count; -using Microsoft.Graph.Me.Calendars.Delta; -using Microsoft.Graph.Me.Calendars.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars -{ - /// - /// Provides operations to manage the calendars property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Calendars.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Calendars.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendars property of the microsoft.graph.user entity. - /// The unique identifier of calendar - /// A - public global::Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("calendar%2Did", position); - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder(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 CalendarsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars{?%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 CalendarsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new calendar for a user. - /// 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 PostAsync(global::Microsoft.Graph.Models.Calendar body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create a new calendar for a user. - /// - /// 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.Models.Calendar body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.CalendarsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.CalendarsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarsRequestBuilderGetQueryParameters - { - /// 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 CalendarsRequestBuilderGetRequestConfiguration : 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 CalendarsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Count/CountRequestBuilder.cs deleted file mode 100644 index a11fc48ca66..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.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/calendars/$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/calendars/$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.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.Me.Calendars.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.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/Calendars/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaGetResponse.cs deleted file mode 100644 index 5b740e728d0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendars.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Calendars.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Calendar.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 932270eecb4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. - /// - /// 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.Me.Calendars.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaResponse.cs deleted file mode 100644 index f8b592b0c3d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendars.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Calendars.Delta.DeltaGetResponse, 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.Me.Calendars.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs deleted file mode 100644 index 9b545532563..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AllowedCalendarSharingRolesWithUserGetResponse : global::Microsoft.Graph.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.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse(); - } - /// - /// 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.GetCollectionOfEnumValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfEnumValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs deleted file mode 100644 index b6d93822590..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ /dev/null @@ -1,159 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser -{ - /// - /// Provides operations to call the allowedCalendarSharingRoles method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedCalendarSharingRolesWithUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - /// Usage: User='{User}' - public AllowedCalendarSharingRolesWithUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string user = "") : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/allowedCalendarSharingRoles(User='{User}'){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - if (!string.IsNullOrWhiteSpace(user)) PathParameters.Add("User", user); - } - /// - /// 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 AllowedCalendarSharingRolesWithUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/allowedCalendarSharingRoles(User='{User}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - /// 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 GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - /// 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 GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - /// 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.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function allowedCalendarSharingRoles - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters - { - /// 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 AllowedCalendarSharingRolesWithUserRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserResponse.cs deleted file mode 100644 index f5147b89553..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser -{ - [Obsolete("This class is obsolete. Use AllowedCalendarSharingRolesWithUserGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AllowedCalendarSharingRolesWithUserResponse : global::Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse, 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.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarItemRequestBuilder.cs deleted file mode 100644 index ea8213db134..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarItemRequestBuilder.cs +++ /dev/null @@ -1,271 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser; -using Microsoft.Graph.Me.Calendars.Item.CalendarPermissions; -using Microsoft.Graph.Me.Calendars.Item.CalendarView; -using Microsoft.Graph.Me.Calendars.Item.Events; -using Microsoft.Graph.Me.Calendars.Item.GetSchedule; -using Microsoft.Graph.Me.Calendars.Item.PermanentDelete; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item -{ - /// - /// Provides operations to manage the calendars property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - public global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder CalendarPermissions - { - get => new global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendarView property of the microsoft.graph.calendar entity. - public global::Microsoft.Graph.Me.Calendars.Item.CalendarView.CalendarViewRequestBuilder CalendarView - { - get => new global::Microsoft.Graph.Me.Calendars.Item.CalendarView.CalendarViewRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - public global::Microsoft.Graph.Me.Calendars.Item.Events.EventsRequestBuilder Events - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.EventsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getSchedule method. - public global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleRequestBuilder GetSchedule - { - get => new global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Provides operations to call the allowedCalendarSharingRoles method. - /// - /// A - /// Usage: User='{User}' - public global::Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder AllowedCalendarSharingRolesWithUser(string user) - { - if(string.IsNullOrEmpty(user)) throw new ArgumentNullException(nameof(user)); - return new global::Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder(PathParameters, RequestAdapter, user); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%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 CalendarItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete a calendar other than the default calendar. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The user's calendars. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property calendars 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.Models.Calendar body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a calendar other than the default calendar. - /// - /// 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; - } - /// - /// The user's calendars. Read-only. Nullable. - /// - /// 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 calendars 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.Models.Calendar body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Calendar body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder(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 CalendarItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The user's calendars. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarItemRequestBuilderGetQueryParameters - { - /// 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 CalendarItemRequestBuilderGetRequestConfiguration : 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 CalendarItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs deleted file mode 100644 index 8fe3dadd52b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count; -using Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.CalendarPermissions -{ - /// - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - /// The unique identifier of calendarPermission - /// A - public global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("calendarPermission%2Did", position); - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder(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 CalendarPermissionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarPermissions{?%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 CalendarPermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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 calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionsRequestBuilderGetQueryParameters - { - /// 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 CalendarPermissionsRequestBuilderGetRequestConfiguration : 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 CalendarPermissionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs deleted file mode 100644 index 0ebdc3ede4f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.CalendarPermissions.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/calendars/{calendar%2Did}/calendarPermissions/$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/calendars/{calendar%2Did}/calendarPermissions/$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.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.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.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/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs deleted file mode 100644 index 1eb4a49a6d3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.CalendarPermissions.Item -{ - /// - /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarPermissionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%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 CalendarPermissionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property calendarPermissions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property calendarPermissions 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; - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - /// 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 calendarPermissions 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.Models.CalendarPermission body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CalendarPermission body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder(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 CalendarPermissionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The permissions of the users with whom the calendar is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarPermissionItemRequestBuilderGetQueryParameters - { - /// 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 CalendarPermissionItemRequestBuilderGetRequestConfiguration : 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 CalendarPermissionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs deleted file mode 100644 index 2b85cef38b5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs +++ /dev/null @@ -1,190 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.CalendarView -{ - /// - /// Provides operations to manage the calendarView property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarViewRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder(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 CalendarViewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 CalendarViewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The calendar view for the calendar. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The calendar view for the calendar. Navigation property. Read-only. - /// - /// 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.Me.Calendars.Item.CalendarView.CalendarViewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarView.CalendarViewRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The calendar view for the calendar. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarViewRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 CalendarViewRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaGetResponse.cs deleted file mode 100644 index d707683068f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Calendars.Item.CalendarView.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index ab16b7a0a29..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.CalendarView.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarView/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarView/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaResponse.cs deleted file mode 100644 index 44e02625f97..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendars.Item.CalendarView.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaGetResponse, 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.Me.Calendars.Item.CalendarView.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Count/CountRequestBuilder.cs deleted file mode 100644 index d228c2eb56b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.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/calendars/{calendar%2Did}/events/$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/calendars/{calendar%2Did}/events/$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.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.Me.Calendars.Item.Events.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.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/Calendars/Item/Events/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaGetResponse.cs deleted file mode 100644 index 96d2ecbf882..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendars.Item.Events.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Calendars.Item.Events.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 5857d4e0826..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.Calendars.Item.Events.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaResponse.cs deleted file mode 100644 index 2cc4a704539..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendars.Item.Events.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaGetResponse, 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.Me.Calendars.Item.Events.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/EventsRequestBuilder.cs deleted file mode 100644 index ed1b4d6a610..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/EventsRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendars.Item.Events.Count; -using Microsoft.Graph.Me.Calendars.Item.Events.Delta; -using Microsoft.Graph.Me.Calendars.Item.Events.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.Events -{ - /// - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - /// The unique identifier of event - /// A - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("event%2Did", position); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder(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 EventsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events{?%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 EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. - /// 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 PostAsync(global::Microsoft.Graph.Models.Event body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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; - } - /// - /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. - /// - /// 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.Models.Event body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.EventsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.EventsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventsRequestBuilderGetQueryParameters - { - /// 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 EventsRequestBuilderGetRequestConfiguration : 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 EventsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs deleted file mode 100644 index cdfb953e3b2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#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.Me.Calendars.Item.Events.Item.Accept -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AcceptPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public AcceptPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs deleted file mode 100644 index c6461ff9ec6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Accept -{ - /// - /// Provides operations to call the accept method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AcceptRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AcceptRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/accept", 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 AcceptRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/accept", rawUrl) - { - } - /// - /// Accept the specified event in a user calendar. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Accept the specified event in a user calendar. - /// - /// 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.Me.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder(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 AcceptRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs deleted file mode 100644 index 6ea0f2b3a53..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Attachments -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createUploadSession method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// The unique identifier of attachment - /// A - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachment%2Did", position); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%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 AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to attachments 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.Models.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// 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 attachments 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.Models.Attachment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilderGetQueryParameters - { - /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs deleted file mode 100644 index 8ca217d27ae..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Attachments.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/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$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/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$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.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.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.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/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs deleted file mode 100644 index d04aa06fe5b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateUploadSessionPostRequestBody : 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 AttachmentItem property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.AttachmentItem? AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.AttachmentItem AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public CreateUploadSessionPostRequestBody() - { - 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.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(global::Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs deleted file mode 100644 index 127f158ba66..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession -{ - /// - /// Provides operations to call the createUploadSession method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/attachments/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/attachments/createUploadSession", rawUrl) - { - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// 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 PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// - /// 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.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs deleted file mode 100644 index 32c93c87d1d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ /dev/null @@ -1,174 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Attachments.Item -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttachmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/attachments/{attachment%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 AttachmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attachments 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attachments 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; - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// 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.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs deleted file mode 100644 index ff0f202783c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Calendar -{ - /// - /// Provides operations to manage the calendar property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%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 CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}", rawUrl) - { - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - /// 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.Me.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilderGetQueryParameters - { - /// 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 CalendarRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs deleted file mode 100644 index 2e035c9b636..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Calendars.Item.Events.Item.Cancel -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CancelPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CancelPostRequestBody() - { - 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.Me.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs deleted file mode 100644 index 851d1cb77e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Cancel -{ - /// - /// Provides operations to call the cancel method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CancelRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CancelRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/cancel", 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 CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/cancel", rawUrl) - { - } - /// - /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. - /// - /// 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.Me.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder(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 CancelRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs deleted file mode 100644 index a6d5544244a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Decline -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeclinePostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ProposedNewTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TimeSlot? ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TimeSlot ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public DeclinePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(global::Microsoft.Graph.Models.TimeSlot.CreateFromDiscriminatorValue); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs deleted file mode 100644 index 65a2cbcec34..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Decline -{ - /// - /// Provides operations to call the decline method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeclineRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeclineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/decline", 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 DeclineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/decline", rawUrl) - { - } - /// - /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// - /// 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.Me.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder(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 DeclineRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs deleted file mode 100644 index 33422086f22..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.DismissReminder -{ - /// - /// Provides operations to call the dismissReminder method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DismissReminderRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DismissReminderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/dismissReminder", 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 DismissReminderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/dismissReminder", rawUrl) - { - } - /// - /// Dismiss a reminder that has been triggered for an event in a user calendar. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Dismiss a reminder that has been triggered for an event in a user calendar. - /// - /// 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.Me.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder(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 DismissReminderRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/EventItemRequestBuilder.cs deleted file mode 100644 index eeab898bfc2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/EventItemRequestBuilder.cs +++ /dev/null @@ -1,301 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item -{ - /// - /// Provides operations to manage the events property of the microsoft.graph.calendar entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the accept method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder Accept - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder Attachments - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendar property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder Calendar - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the cancel method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder Cancel - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the decline method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder Decline - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the dismissReminder method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder DismissReminder - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the forward method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder Forward - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the instances property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder Instances - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the snoozeReminder method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder SnoozeReminder - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the tentativelyAccept method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder TentativelyAccept - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder(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 EventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%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 EventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property events 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property events 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.Models.Event body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property events 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; - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - /// 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 events 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.Models.Event body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder(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 EventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The events in the calendar. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventItemRequestBuilderGetQueryParameters - { - /// 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 EventItemRequestBuilderGetRequestConfiguration : 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 EventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 8f7757a8dc9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Extensions.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/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$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/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$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.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.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.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/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index bf820b0437c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count; -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 65fa2f68ad4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs deleted file mode 100644 index 2a86b9f007b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Forward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ForwardPostRequestBody() - { - 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.Me.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs deleted file mode 100644 index 15e5476f4ec..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Forward -{ - /// - /// Provides operations to call the forward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/forward", 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 ForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/forward", rawUrl) - { - } - /// - /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder(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 ForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs deleted file mode 100644 index 571a1c0d4c4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 8851b216298..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Instances.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/instances/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/instances/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaResponse.cs deleted file mode 100644 index c4a48af8c35..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendars.Item.Events.Item.Instances.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse, 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.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs deleted file mode 100644 index c69ee8243d6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs +++ /dev/null @@ -1,190 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.Instances -{ - /// - /// Provides operations to manage the instances property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder(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 InstancesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 InstancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences canceled from the series. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences canceled from the series. Navigation property. Read-only. Nullable. - /// - /// 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.Me.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn't include occurrences canceled from the series. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 InstancesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index 8885ea25a57..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs deleted file mode 100644 index 171a1dd7976..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.SnoozeReminder -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SnoozeReminderPostRequestBody : 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 NewReminderTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? NewReminderTime - { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone NewReminderTime - { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SnoozeReminderPostRequestBody() - { - 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.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs deleted file mode 100644 index bb61332a294..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.SnoozeReminder -{ - /// - /// Provides operations to call the snoozeReminder method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SnoozeReminderRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SnoozeReminderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/snoozeReminder", 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 SnoozeReminderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/snoozeReminder", rawUrl) - { - } - /// - /// Postpone a reminder for an event in a user calendar until a new time. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Postpone a reminder for an event in a user calendar until a new time. - /// - /// 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.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder(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 SnoozeReminderRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs deleted file mode 100644 index 94d80ad1cd6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.TentativelyAccept -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TentativelyAcceptPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ProposedNewTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TimeSlot? ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TimeSlot ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public TentativelyAcceptPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(global::Microsoft.Graph.Models.TimeSlot.CreateFromDiscriminatorValue); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs deleted file mode 100644 index a968b0ef3aa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.Events.Item.TentativelyAccept -{ - /// - /// Provides operations to call the tentativelyAccept method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TentativelyAcceptRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TentativelyAcceptRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/tentativelyAccept", 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 TentativelyAcceptRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/tentativelyAccept", rawUrl) - { - } - /// - /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// - /// 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.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder(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 TentativelyAcceptRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs deleted file mode 100644 index 0b981f8c62e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs +++ /dev/null @@ -1,126 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.GetSchedule -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetSchedulePostRequestBody : 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 AvailabilityViewInterval property - public int? AvailabilityViewInterval - { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The EndTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? EndTime - { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone EndTime - { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } - } -#endif - /// The Schedules property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Schedules - { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } - } -#nullable restore -#else - public List Schedules - { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } - } -#endif - /// The StartTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? StartTime - { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone StartTime - { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public GetSchedulePostRequestBody() - { - 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.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - { "EndTime", n => { EndTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - { "Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "StartTime", n => { StartTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostResponse.cs deleted file mode 100644 index bec4355f4ad..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Calendars.Item.GetSchedule -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetSchedulePostResponse : global::Microsoft.Graph.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.Me.Calendars.Item.GetSchedule.GetSchedulePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostResponse(); - } - /// - /// 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.Models.ScheduleInformation.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs deleted file mode 100644 index dcc73c18bb3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.GetSchedule -{ - /// - /// Provides operations to call the getSchedule method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetScheduleRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetScheduleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/getSchedule", 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 GetScheduleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/getSchedule", rawUrl) - { - } - /// - /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. - /// 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 PostAsGetSchedulePostResponseAsync(global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsGetSchedulePostResponseAsync(global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. - /// 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 PostAsGetSchedulePostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. - /// - /// 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.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleRequestBuilder(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 GetScheduleRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleResponse.cs deleted file mode 100644 index 5b57ede2b08..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Calendars.Item.GetSchedule -{ - [Obsolete("This class is obsolete. Use GetSchedulePostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetScheduleResponse : global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostResponse, 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.Me.Calendars.Item.GetSchedule.GetScheduleResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index 755ce5686a3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Calendars.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/{calendar%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordPostRequestBody.cs deleted file mode 100644 index 208e564a42e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordPostRequestBody.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#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.Me.ChangePassword -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ChangePasswordPostRequestBody : 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 currentPassword property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? CurrentPassword - { - get { return BackingStore?.Get("currentPassword"); } - set { BackingStore?.Set("currentPassword", value); } - } -#nullable restore -#else - public string CurrentPassword - { - get { return BackingStore?.Get("currentPassword"); } - set { BackingStore?.Set("currentPassword", value); } - } -#endif - /// The newPassword property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? NewPassword - { - get { return BackingStore?.Get("newPassword"); } - set { BackingStore?.Set("newPassword", value); } - } -#nullable restore -#else - public string NewPassword - { - get { return BackingStore?.Get("newPassword"); } - set { BackingStore?.Set("newPassword", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ChangePasswordPostRequestBody() - { - 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.Me.ChangePassword.ChangePasswordPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ChangePassword.ChangePasswordPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "currentPassword", n => { CurrentPassword = n.GetStringValue(); } }, - { "newPassword", n => { NewPassword = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("currentPassword", CurrentPassword); - writer.WriteStringValue("newPassword", NewPassword); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordRequestBuilder.cs deleted file mode 100644 index c0e3ef3b2f1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ChangePassword -{ - /// - /// Provides operations to call the changePassword method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChangePasswordRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ChangePasswordRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/changePassword", 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 ChangePasswordRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/changePassword", rawUrl) - { - } - /// - /// Update the signed-in user's password. Any user can update their password without belonging to any administrator role.To update another user's password in either delegated or app-only scenarios, update the passwordProfile property of the user instead. See Example 3: Update the passwordProfile of a user and reset their password. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.ChangePassword.ChangePasswordPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.ChangePassword.ChangePasswordPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the signed-in user's password. Any user can update their password without belonging to any administrator role.To update another user's password in either delegated or app-only scenarios, update the passwordProfile property of the user instead. See Example 3: Update the passwordProfile of a user and reset their password. - /// - /// 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.Me.ChangePassword.ChangePasswordPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.ChangePassword.ChangePasswordPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ChangePassword.ChangePasswordRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ChangePassword.ChangePasswordRequestBuilder(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 ChangePasswordRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/ChatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/ChatsRequestBuilder.cs deleted file mode 100644 index 6c34212a4b4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/ChatsRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Count; -using Microsoft.Graph.Me.Chats.GetAllMessages; -using Microsoft.Graph.Me.Chats.GetAllRetainedMessages; -using Microsoft.Graph.Me.Chats.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats -{ - /// - /// Provides operations to manage the chats property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllMessages method. - public global::Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesRequestBuilder GetAllMessages - { - get => new global::Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllRetainedMessages method. - public global::Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder GetAllRetainedMessages - { - get => new global::Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the chats property of the microsoft.graph.user entity. - /// The unique identifier of chat - /// A - public global::Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chat%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder(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 ChatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats{?%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 ChatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get chats 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to chats 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.Models.Chat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Chat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get chats 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 chats 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.Models.Chat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Chat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.ChatsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.ChatsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get chats from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatsRequestBuilderGetQueryParameters - { - /// 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 ChatsRequestBuilderGetRequestConfiguration : 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 ChatsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Count/CountRequestBuilder.cs deleted file mode 100644 index ffa24d77109..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.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/chats/$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/chats/$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.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.Me.Chats.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.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/Chats/GetAllMessages/GetAllMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesGetResponse.cs deleted file mode 100644 index 34b923b0ab0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Chats.GetAllMessages -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllMessagesGetResponse : global::Microsoft.Graph.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.Me.Chats.GetAllMessages.GetAllMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs deleted file mode 100644 index bbc5b43f3f2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ /dev/null @@ -1,199 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.GetAllMessages -{ - /// - /// Provides operations to call the getAllMessages method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllMessagesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/getAllMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,model*}", 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 GetAllMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/getAllMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,model*}", rawUrl) - { - } - /// - /// Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllMessagesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - /// 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.Me.Chats.GetAllMessages.GetAllMessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllMessagesRequestBuilderGetQueryParameters - { - /// 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 - /// The payment model for the API -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("model")] - public string? Model { get; set; } -#nullable restore -#else - [QueryParameter("model")] - public string Model { 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 GetAllMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesResponse.cs deleted file mode 100644 index 275713023d7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Chats.GetAllMessages -{ - [Obsolete("This class is obsolete. Use GetAllMessagesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllMessagesResponse : global::Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesGetResponse, 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.Me.Chats.GetAllMessages.GetAllMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.cs deleted file mode 100644 index 890ecc82955..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Chats.GetAllRetainedMessages -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRetainedMessagesGetResponse : global::Microsoft.Graph.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.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.cs deleted file mode 100644 index 48a1230f26f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.GetAllRetainedMessages -{ - /// - /// Provides operations to call the getAllRetainedMessages method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRetainedMessagesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllRetainedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/getAllRetainedMessages(){?%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 GetAllRetainedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllRetainedMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllRetainedMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - /// 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.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRetainedMessagesRequestBuilderGetQueryParameters - { - /// 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 GetAllRetainedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/GetAllRetainedMessages/GetAllRetainedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/GetAllRetainedMessages/GetAllRetainedMessagesResponse.cs deleted file mode 100644 index 62efb7da7e6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/GetAllRetainedMessages/GetAllRetainedMessagesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Chats.GetAllRetainedMessages -{ - [Obsolete("This class is obsolete. Use GetAllRetainedMessagesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRetainedMessagesResponse : global::Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse, 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.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs deleted file mode 100644 index cb20a890e89..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs +++ /dev/null @@ -1,325 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.CompleteMigration; -using Microsoft.Graph.Me.Chats.Item.HideForUser; -using Microsoft.Graph.Me.Chats.Item.InstalledApps; -using Microsoft.Graph.Me.Chats.Item.LastMessagePreview; -using Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser; -using Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser; -using Microsoft.Graph.Me.Chats.Item.Members; -using Microsoft.Graph.Me.Chats.Item.Messages; -using Microsoft.Graph.Me.Chats.Item.PermissionGrants; -using Microsoft.Graph.Me.Chats.Item.PinnedMessages; -using Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser; -using Microsoft.Graph.Me.Chats.Item.SendActivityNotification; -using Microsoft.Graph.Me.Chats.Item.StartMigration; -using Microsoft.Graph.Me.Chats.Item.Tabs; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages; -using Microsoft.Graph.Me.Chats.Item.UnhideForUser; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item -{ - /// - /// Provides operations to manage the chats property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the completeMigration method. - public global::Microsoft.Graph.Me.Chats.Item.CompleteMigration.CompleteMigrationRequestBuilder CompleteMigration - { - get => new global::Microsoft.Graph.Me.Chats.Item.CompleteMigration.CompleteMigrationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the hideForUser method. - public global::Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserRequestBuilder HideForUser - { - get => new global::Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the installedApps property of the microsoft.graph.chat entity. - public global::Microsoft.Graph.Me.Chats.Item.InstalledApps.InstalledAppsRequestBuilder InstalledApps - { - get => new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.InstalledAppsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the lastMessagePreview property of the microsoft.graph.chat entity. - public global::Microsoft.Graph.Me.Chats.Item.LastMessagePreview.LastMessagePreviewRequestBuilder LastMessagePreview - { - get => new global::Microsoft.Graph.Me.Chats.Item.LastMessagePreview.LastMessagePreviewRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the markChatReadForUser method. - public global::Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserRequestBuilder MarkChatReadForUser - { - get => new global::Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the markChatUnreadForUser method. - public global::Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserRequestBuilder MarkChatUnreadForUser - { - get => new global::Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.chat entity. - public global::Microsoft.Graph.Me.Chats.Item.Members.MembersRequestBuilder Members - { - get => new global::Microsoft.Graph.Me.Chats.Item.Members.MembersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.chat entity. - public global::Microsoft.Graph.Me.Chats.Item.Messages.MessagesRequestBuilder Messages - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. - public global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.PermissionGrantsRequestBuilder PermissionGrants - { - get => new global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.PermissionGrantsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. - public global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder PinnedMessages - { - get => new global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the removeAllAccessForUser method. - public global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder RemoveAllAccessForUser - { - get => new global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the sendActivityNotification method. - public global::Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder SendActivityNotification - { - get => new global::Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the startMigration method. - public global::Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder StartMigration - { - get => new global::Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. - public global::Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder Tabs - { - get => new global::Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unhideForUser method. - public global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder UnhideForUser - { - get => new global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder(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 ChatItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%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 ChatItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property chats 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get chats 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property chats 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.Models.Chat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Chat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property chats 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 chats 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 chats 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.Models.Chat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Chat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder(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 ChatItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get chats from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatItemRequestBuilderGetQueryParameters - { - /// 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 ChatItemRequestBuilderGetRequestConfiguration : 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 ChatItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs deleted file mode 100644 index ef8da277ca3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.CompleteMigration -{ - /// - /// Provides operations to call the completeMigration method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CompleteMigrationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CompleteMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/completeMigration", 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 CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/completeMigration", rawUrl) - { - } - /// - /// Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. - /// - /// 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.Me.Chats.Item.CompleteMigration.CompleteMigrationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.CompleteMigration.CompleteMigrationRequestBuilder(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 CompleteMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserPostRequestBody.cs deleted file mode 100644 index 3d545c6ef86..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.HideForUser -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class HideForUserPostRequestBody : 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 user property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkUserIdentity? User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkUserIdentity User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public HideForUserPostRequestBody() - { - 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.Me.Chats.Item.HideForUser.HideForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("user", User); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserRequestBuilder.cs deleted file mode 100644 index 3cf6a0ce494..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.HideForUser -{ - /// - /// Provides operations to call the hideForUser method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HideForUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public HideForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/hideForUser", 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 HideForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/hideForUser", rawUrl) - { - } - /// - /// Hide a chat for a user. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Hide a chat for a user. - /// - /// 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.Me.Chats.Item.HideForUser.HideForUserPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserRequestBuilder(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 HideForUserRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs deleted file mode 100644 index ab166c79261..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.InstalledApps.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/chats/{chat%2Did}/installedApps/$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/chats/{chat%2Did}/installedApps/$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.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.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.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/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs deleted file mode 100644 index d832c561ed5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.InstalledApps.Count; -using Microsoft.Graph.Me.Chats.Item.InstalledApps.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.InstalledApps -{ - /// - /// Provides operations to manage the installedApps property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstalledAppsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the installedApps property of the microsoft.graph.chat entity. - /// The unique identifier of teamsAppInstallation - /// A - public global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamsAppInstallation%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder(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 InstalledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps{?%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 InstalledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of all the apps in the chat. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to installedApps 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.Models.TeamsAppInstallation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TeamsAppInstallation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the apps in the chat. Nullable. - /// - /// 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 installedApps 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.Models.TeamsAppInstallation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsAppInstallation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.InstalledApps.InstalledAppsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.InstalledAppsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of all the apps in the chat. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstalledAppsRequestBuilderGetQueryParameters - { - /// 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 InstalledAppsRequestBuilderGetRequestConfiguration : 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 InstalledAppsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs deleted file mode 100644 index 86f2c14a857..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.InstalledApps.Item.TeamsApp -{ - /// - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps/{teamsAppInstallation%2Did}/teamsApp{?%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 TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps/{teamsAppInstallation%2Did}/teamsApp{?%24expand,%24select}", rawUrl) - { - } - /// - /// The app that is installed. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The app that is installed. - /// - /// 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.Me.Chats.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The app that is installed. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilderGetQueryParameters - { - /// 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 TeamsAppRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs deleted file mode 100644 index ade293404b8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition -{ - /// - /// Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppDefinitionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppDefinitionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps/{teamsAppInstallation%2Did}/teamsAppDefinition{?%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 TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps/{teamsAppInstallation%2Did}/teamsAppDefinition{?%24expand,%24select}", rawUrl) - { - } - /// - /// The details of this version of the app. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The details of this version of the app. - /// - /// 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.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The details of this version of the app. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppDefinitionRequestBuilderGetQueryParameters - { - /// 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 TeamsAppDefinitionRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs deleted file mode 100644 index a2d29721970..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ /dev/null @@ -1,247 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp; -using Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition; -using Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.InstalledApps.Item -{ - /// - /// Provides operations to manage the installedApps property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppInstallationItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. - public global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder TeamsApp - { - get => new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. - public global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder TeamsAppDefinition - { - get => new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the upgrade method. - public global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder Upgrade - { - get => new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder(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 TeamsAppInstallationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps/{teamsAppInstallation%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 TeamsAppInstallationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps/{teamsAppInstallation%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property installedApps 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the apps in the chat. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property installedApps 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.Models.TeamsAppInstallation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAppInstallation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property installedApps 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; - } - /// - /// A collection of all the apps in the chat. Nullable. - /// - /// 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 installedApps 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.Models.TeamsAppInstallation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAppInstallation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder(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 TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of all the apps in the chat. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppInstallationItemRequestBuilderGetQueryParameters - { - /// 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 TeamsAppInstallationItemRequestBuilderGetRequestConfiguration : 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 TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs deleted file mode 100644 index 29122af668c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.InstalledApps.Item.Upgrade -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UpgradePostRequestBody : 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 consentedPermissionSet property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamsAppPermissionSet? ConsentedPermissionSet - { - get { return BackingStore?.Get("consentedPermissionSet"); } - set { BackingStore?.Set("consentedPermissionSet", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamsAppPermissionSet ConsentedPermissionSet - { - get { return BackingStore?.Get("consentedPermissionSet"); } - set { BackingStore?.Set("consentedPermissionSet", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UpgradePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "consentedPermissionSet", n => { ConsentedPermissionSet = n.GetObjectValue(global::Microsoft.Graph.Models.TeamsAppPermissionSet.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("consentedPermissionSet", ConsentedPermissionSet); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs deleted file mode 100644 index 7f054729ef7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.InstalledApps.Item.Upgrade -{ - /// - /// Provides operations to call the upgrade method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UpgradeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UpgradeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps/{teamsAppInstallation%2Did}/upgrade", 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 UpgradeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/installedApps/{teamsAppInstallation%2Did}/upgrade", rawUrl) - { - } - /// - /// Upgrade an app installation within a chat. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// 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.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Upgrade an app installation within a chat. - /// - /// 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.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder(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 UpgradeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs deleted file mode 100644 index 2fc8dd50ec0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.LastMessagePreview -{ - /// - /// Provides operations to manage the lastMessagePreview property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LastMessagePreviewRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LastMessagePreviewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/lastMessagePreview{?%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 LastMessagePreviewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/lastMessagePreview{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property lastMessagePreview 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property lastMessagePreview 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.Models.ChatMessageInfo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageInfo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property lastMessagePreview 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; - } - /// - /// Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. - /// - /// 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 lastMessagePreview 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.Models.ChatMessageInfo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageInfo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.LastMessagePreview.LastMessagePreviewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.LastMessagePreview.LastMessagePreviewRequestBuilder(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 LastMessagePreviewRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LastMessagePreviewRequestBuilderGetQueryParameters - { - /// 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 LastMessagePreviewRequestBuilderGetRequestConfiguration : 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 LastMessagePreviewRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserPostRequestBody.cs deleted file mode 100644 index 02243d130c0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.MarkChatReadForUser -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class MarkChatReadForUserPostRequestBody : 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 user property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkUserIdentity? User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkUserIdentity User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public MarkChatReadForUserPostRequestBody() - { - 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.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("user", User); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs deleted file mode 100644 index 14aaf86a8bd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.MarkChatReadForUser -{ - /// - /// Provides operations to call the markChatReadForUser method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MarkChatReadForUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MarkChatReadForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/markChatReadForUser", 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 MarkChatReadForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/markChatReadForUser", rawUrl) - { - } - /// - /// Mark a chat as read for a user. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Mark a chat as read for a user. - /// - /// 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.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserRequestBuilder(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 MarkChatReadForUserRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserPostRequestBody.cs deleted file mode 100644 index 07b8d36c1c4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.MarkChatUnreadForUser -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class MarkChatUnreadForUserPostRequestBody : 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 lastMessageReadDateTime property - public DateTimeOffset? LastMessageReadDateTime - { - get { return BackingStore?.Get("lastMessageReadDateTime"); } - set { BackingStore?.Set("lastMessageReadDateTime", value); } - } - /// The user property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkUserIdentity? User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkUserIdentity User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public MarkChatUnreadForUserPostRequestBody() - { - 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.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "lastMessageReadDateTime", n => { LastMessageReadDateTime = n.GetDateTimeOffsetValue(); } }, - { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteDateTimeOffsetValue("lastMessageReadDateTime", LastMessageReadDateTime); - writer.WriteObjectValue("user", User); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs deleted file mode 100644 index bb668557189..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.MarkChatUnreadForUser -{ - /// - /// Provides operations to call the markChatUnreadForUser method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MarkChatUnreadForUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MarkChatUnreadForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/markChatUnreadForUser", 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 MarkChatUnreadForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/markChatUnreadForUser", rawUrl) - { - } - /// - /// Mark a chat as unread for a user. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Mark a chat as unread for a user. - /// - /// 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.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserRequestBuilder(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 MarkChatUnreadForUserRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddPostRequestBody.cs deleted file mode 100644 index 0ffa1fd6599..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Members.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.Me.Chats.Item.Members.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Members.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddPostResponse.cs deleted file mode 100644 index d4c07e8b21d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Chats.Item.Members.Add -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AddPostResponse : global::Microsoft.Graph.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.Me.Chats.Item.Members.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Members.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddRequestBuilder.cs deleted file mode 100644 index 9451a9638ae..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Members.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}/me/chats/{chat%2Did}/members/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}/me/chats/{chat%2Did}/members/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.Me.Chats.Item.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.Members.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.Me.Chats.Item.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.Members.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.Me.Chats.Item.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Members.Add.AddRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Members.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/Me/Chats/Item/Members/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddResponse.cs deleted file mode 100644 index f0ae3108b51..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Chats.Item.Members.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.Me.Chats.Item.Members.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.Me.Chats.Item.Members.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Members.Add.AddResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Count/CountRequestBuilder.cs deleted file mode 100644 index 3e2424cbd2f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Members.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/chats/{chat%2Did}/members/$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/chats/{chat%2Did}/members/$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.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.Me.Chats.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Members.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/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs deleted file mode 100644 index 010e0059e2b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Members.Item -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.chat 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}/me/chats/{chat%2Did}/members/{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}/me/chats/{chat%2Did}/members/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property members 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the members in the chat. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property members 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property members 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; - } - /// - /// A collection of all the members in the chat. Nullable. - /// - /// 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 members 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Members.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 - { - } - /// - /// A collection of all the members in the chat. Nullable. - /// - [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/Me/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs deleted file mode 100644 index ad98be50cde..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs +++ /dev/null @@ -1,251 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Members.Add; -using Microsoft.Graph.Me.Chats.Item.Members.Count; -using Microsoft.Graph.Me.Chats.Item.Members.Item; -using Microsoft.Graph.Me.Chats.Item.Members.Remove; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Members -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the add method. - public global::Microsoft.Graph.Me.Chats.Item.Members.Add.AddRequestBuilder Add - { - get => new global::Microsoft.Graph.Me.Chats.Item.Members.Add.AddRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the remove method. - public global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder Remove - { - get => new global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.chat entity. - /// The unique identifier of conversationMember - /// A - public global::Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("conversationMember%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.Members.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 MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/members{?%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 MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// List all conversation members in a chat. This method supports federation. For one-on-one chats, at least one chat member must belong to the tenant the request initiates from. For group chats, the chat must be initiated by a user in the tenant the request initiates from. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to members 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List all conversation members in a chat. This method supports federation. For one-on-one chats, at least one chat member must belong to the tenant the request initiates from. For group chats, the chat must be initiated by a user in the tenant the request initiates from. - /// - /// 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 members 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List all conversation members in a chat. This method supports federation. For one-on-one chats, at least one chat member must belong to the tenant the request initiates from. For group chats, the chat must be initiated by a user in the tenant the request initiates from. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilderGetQueryParameters - { - /// 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 MembersRequestBuilderGetRequestConfiguration : 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 MembersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostRequestBody.cs deleted file mode 100644 index 0df11faa136..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Members.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.Me.Chats.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Members.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostResponse.cs deleted file mode 100644 index 7c80c54b871..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Chats.Item.Members.Remove -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RemovePostResponse : global::Microsoft.Graph.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.Me.Chats.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Members.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveRequestBuilder.cs deleted file mode 100644 index e9e9a1587d0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Members.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}/me/chats/{chat%2Did}/members/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}/me/chats/{chat%2Did}/members/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.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.Members.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.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.Members.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.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Members.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/Me/Chats/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveResponse.cs deleted file mode 100644 index a5847750e95..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Chats.Item.Members.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.Me.Chats.Item.Members.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.Me.Chats.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Count/CountRequestBuilder.cs deleted file mode 100644 index 59a6890d0b3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.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/chats/{chat%2Did}/messages/$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/chats/{chat%2Did}/messages/$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.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.Me.Chats.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.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/Chats/Item/Messages/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaGetResponse.cs deleted file mode 100644 index fc4e96dd5e1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Chats.Item.Messages.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Chats.Item.Messages.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index c49df494f53..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - /// 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.Me.Chats.Item.Messages.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaResponse.cs deleted file mode 100644 index d898085af14..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Chats.Item.Messages.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaGetResponse, 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.Me.Chats.Item.Messages.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs deleted file mode 100644 index ffba6eea39d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder HostedContents - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.RepliesRequestBuilder Replies - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.RepliesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setReaction method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the softDelete method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the undoSoftDelete method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unsetReaction method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder(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 ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%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 ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property messages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the messages in the chat. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property messages 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property messages 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; - } - /// - /// A collection of all the messages in the chat. Nullable. - /// - /// 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 messages 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder(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 ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of all the messages in the chat. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageItemRequestBuilderGetRequestConfiguration : 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 ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs deleted file mode 100644 index 97f1e6cb15c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.HostedContents.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/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/$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/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/$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.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.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.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/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs deleted file mode 100644 index 9a82485cdca..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.HostedContents -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessageHostedContent - /// A - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessageHostedContent%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%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 HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilderGetQueryParameters - { - /// 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 HostedContentsRequestBuilderGetRequestConfiguration : 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 HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs deleted file mode 100644 index cf6f3e2d4ca..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.HostedContents.Item -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property hostedContents 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property hostedContents 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; - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : 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 ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index 735fb6e6d73..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.HostedContents.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs deleted file mode 100644 index fde5110ccbb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.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/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/$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/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/$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.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.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.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/Chats/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs deleted file mode 100644 index 0911ae5fc0d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 29a74879929..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - /// 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.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaResponse.cs deleted file mode 100644 index 10b04252c11..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Chats.Item.Messages.Item.Replies.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaGetResponse, 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.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs deleted file mode 100644 index 1bd09f4eceb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ /dev/null @@ -1,259 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Item -{ - /// - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setReaction method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the softDelete method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the undoSoftDelete method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unsetReaction method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(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 ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}{?%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 ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property replies 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property replies 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property replies 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; - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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 replies 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder(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 ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageItemRequestBuilderGetRequestConfiguration : 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 ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs deleted file mode 100644 index 3aea285d5e4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.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/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/$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/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/$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.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.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.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/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs deleted file mode 100644 index 9897a6a6101..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessageHostedContent - /// A - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessageHostedContent%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%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 HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilderGetQueryParameters - { - /// 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 HostedContentsRequestBuilderGetRequestConfiguration : 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 HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs deleted file mode 100644 index 934454ed975..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property hostedContents 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property hostedContents 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; - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : 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 ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index 5e9ccbeeef1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs deleted file mode 100644 index 674180d0e90..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SetReactionPostRequestBody() - { - 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.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs deleted file mode 100644 index 7cbffc9a818..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction -{ - /// - /// Provides operations to call the setReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/setReaction", 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 SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/setReaction", rawUrl) - { - } - /// - /// Invoke action setReaction - /// - /// 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.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action setReaction - /// - /// 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.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(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 SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs deleted file mode 100644 index 91693e54bd4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete -{ - /// - /// Provides operations to call the softDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", 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 SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) - { - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(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 SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs deleted file mode 100644 index bc86e9f0137..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete -{ - /// - /// Provides operations to call the undoSoftDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", 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 UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) - { - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(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 UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs deleted file mode 100644 index 3c163bd1dc4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UnsetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UnsetReactionPostRequestBody() - { - 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.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs deleted file mode 100644 index 5e2bf0e2413..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction -{ - /// - /// Provides operations to call the unsetReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnsetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/unsetReaction", 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 UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/unsetReaction", rawUrl) - { - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(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 UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs deleted file mode 100644 index 88447e571cb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item; -using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies -{ - /// - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RepliesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyWithQuote method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessage - /// A - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessage%2Did1", position); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder(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 RepliesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies{?%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 RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to replies 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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 replies 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.RepliesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RepliesRequestBuilderGetQueryParameters - { - /// 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 RepliesRequestBuilderGetRequestConfiguration : 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 RepliesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs deleted file mode 100644 index 0f1c98f29b6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyWithQuotePostRequestBody : 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 messageIds property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? MessageIds - { - get { return BackingStore?.Get?>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#nullable restore -#else - public List MessageIds - { - get { return BackingStore?.Get>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#endif - /// The replyMessage property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ChatMessage ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyWithQuotePostRequestBody() - { - 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.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); - writer.WriteObjectValue("replyMessage", ReplyMessage); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs deleted file mode 100644 index 36c88e6d1df..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote -{ - /// - /// Provides operations to call the replyWithQuote method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", 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 ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) - { - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// 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 PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// - /// 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.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(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 ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs deleted file mode 100644 index df938643c7d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Chats.Item.Messages.Item.SetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SetReactionPostRequestBody() - { - 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.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs deleted file mode 100644 index e601bab96e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.SetReaction -{ - /// - /// Provides operations to call the setReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/setReaction", 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 SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/setReaction", rawUrl) - { - } - /// - /// Invoke action setReaction - /// - /// 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.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action setReaction - /// - /// 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.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(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 SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs deleted file mode 100644 index d64881f614a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.SoftDelete -{ - /// - /// Provides operations to call the softDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/softDelete", 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 SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) - { - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.Chats.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder(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 SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs deleted file mode 100644 index 7d49d62645a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.UndoSoftDelete -{ - /// - /// Provides operations to call the undoSoftDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", 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 UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) - { - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.Chats.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(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 UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs deleted file mode 100644 index 0a53c314e1b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Chats.Item.Messages.Item.UnsetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UnsetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UnsetReactionPostRequestBody() - { - 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.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs deleted file mode 100644 index 274f0be8524..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.Item.UnsetReaction -{ - /// - /// Provides operations to call the unsetReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnsetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/unsetReaction", 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 UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/unsetReaction", rawUrl) - { - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder(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 UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs deleted file mode 100644 index ddd95f085e6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Messages.Count; -using Microsoft.Graph.Me.Chats.Item.Messages.Delta; -using Microsoft.Graph.Me.Chats.Item.Messages.Item; -using Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyWithQuote method. - public global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote - { - get => new global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.chat entity. - /// The unique identifier of chatMessage - /// A - public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessage%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder(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 MessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages{?%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 MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of all the messages in the chat. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to messages 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the messages in the chat. Nullable. - /// - /// 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 messages 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of all the messages in the chat. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilderGetQueryParameters - { - /// 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 MessagesRequestBuilderGetRequestConfiguration : 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 MessagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs deleted file mode 100644 index 5b309b20c45..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Messages.ReplyWithQuote -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyWithQuotePostRequestBody : 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 messageIds property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? MessageIds - { - get { return BackingStore?.Get?>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#nullable restore -#else - public List MessageIds - { - get { return BackingStore?.Get>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#endif - /// The replyMessage property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ChatMessage ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyWithQuotePostRequestBody() - { - 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.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); - writer.WriteObjectValue("replyMessage", ReplyMessage); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs deleted file mode 100644 index f8b46b891fe..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Messages.ReplyWithQuote -{ - /// - /// Provides operations to call the replyWithQuote method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/replyWithQuote", 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 ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/replyWithQuote", rawUrl) - { - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// 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 PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// - /// 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.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(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 ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs deleted file mode 100644 index a589b29c894..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.PermissionGrants.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/chats/{chat%2Did}/permissionGrants/$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/chats/{chat%2Did}/permissionGrants/$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.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.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.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/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs deleted file mode 100644 index 87e8b475ad2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.PermissionGrants.Item -{ - /// - /// Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceSpecificPermissionGrantItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResourceSpecificPermissionGrantItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/permissionGrants/{resourceSpecificPermissionGrant%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 ResourceSpecificPermissionGrantItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/permissionGrants/{resourceSpecificPermissionGrant%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property permissionGrants 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of permissions granted to apps for the chat. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property permissionGrants 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; - } - /// - /// A collection of permissions granted to apps for the chat. - /// - /// 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 permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder(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 ResourceSpecificPermissionGrantItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of permissions granted to apps for the chat. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters - { - /// 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 ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration : 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 ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs deleted file mode 100644 index 3a2162ccd5f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count; -using Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.PermissionGrants -{ - /// - /// Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermissionGrantsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. - /// The unique identifier of resourceSpecificPermissionGrant - /// A - public global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("resourceSpecificPermissionGrant%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder(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 PermissionGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/permissionGrants{?%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 PermissionGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/permissionGrants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of permissions granted to apps for the chat. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of permissions granted to apps for the chat. - /// - /// 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 permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.PermissionGrantsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.PermissionGrants.PermissionGrantsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of permissions granted to apps for the chat. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermissionGrantsRequestBuilderGetQueryParameters - { - /// 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 PermissionGrantsRequestBuilderGetRequestConfiguration : 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 PermissionGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs deleted file mode 100644 index 93fae9e24eb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.PinnedMessages.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/chats/{chat%2Did}/pinnedMessages/$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/chats/{chat%2Did}/pinnedMessages/$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.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.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.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/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs deleted file mode 100644 index ea7e612c6cf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.PinnedMessages.Item.Message -{ - /// - /// Provides operations to manage the message property of the microsoft.graph.pinnedChatMessageInfo entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/pinnedMessages/{pinnedChatMessageInfo%2Did}/message{?%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 MessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/pinnedMessages/{pinnedChatMessageInfo%2Did}/message{?%24expand,%24select}", rawUrl) - { - } - /// - /// Represents details about the chat message that is pinned. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents details about the chat message that is pinned. - /// - /// 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.Me.Chats.Item.PinnedMessages.Item.Message.MessageRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.MessageRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Represents details about the chat message that is pinned. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRequestBuilderGetQueryParameters - { - /// 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 MessageRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs deleted file mode 100644 index 4234345efaf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.PinnedMessages.Item -{ - /// - /// Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PinnedChatMessageInfoItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the message property of the microsoft.graph.pinnedChatMessageInfo entity. - public global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.MessageRequestBuilder Message - { - get => new global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.MessageRequestBuilder(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 PinnedChatMessageInfoItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/pinnedMessages/{pinnedChatMessageInfo%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 PinnedChatMessageInfoItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/pinnedMessages/{pinnedChatMessageInfo%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property pinnedMessages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the pinned messages in the chat. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property pinnedMessages 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.Models.PinnedChatMessageInfo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PinnedChatMessageInfo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property pinnedMessages 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; - } - /// - /// A collection of all the pinned messages in the chat. Nullable. - /// - /// 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 pinnedMessages 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.Models.PinnedChatMessageInfo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PinnedChatMessageInfo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder(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 PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of all the pinned messages in the chat. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PinnedChatMessageInfoItemRequestBuilderGetQueryParameters - { - /// 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 PinnedChatMessageInfoItemRequestBuilderGetRequestConfiguration : 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 PinnedChatMessageInfoItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs deleted file mode 100644 index 2c2c5c052ca..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count; -using Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.PinnedMessages -{ - /// - /// Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PinnedMessagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. - /// The unique identifier of pinnedChatMessageInfo - /// A - public global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("pinnedChatMessageInfo%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder(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 PinnedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/pinnedMessages{?%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 PinnedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/pinnedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of all the pinned messages in the chat. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PinnedChatMessageInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to pinnedMessages 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.Models.PinnedChatMessageInfo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.PinnedChatMessageInfo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the pinned messages in the chat. Nullable. - /// - /// 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 pinnedMessages 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.Models.PinnedChatMessageInfo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PinnedChatMessageInfo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of all the pinned messages in the chat. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PinnedMessagesRequestBuilderGetQueryParameters - { - /// 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 PinnedMessagesRequestBuilderGetRequestConfiguration : 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 PinnedMessagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs deleted file mode 100644 index b9a5e0dd9c3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.RemoveAllAccessForUser -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RemoveAllAccessForUserPostRequestBody : 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 user property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkUserIdentity? User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkUserIdentity User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public RemoveAllAccessForUserPostRequestBody() - { - 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.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("user", User); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs deleted file mode 100644 index 915acabc3b3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.RemoveAllAccessForUser -{ - /// - /// Provides operations to call the removeAllAccessForUser method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RemoveAllAccessForUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RemoveAllAccessForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/removeAllAccessForUser", 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 RemoveAllAccessForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/removeAllAccessForUser", rawUrl) - { - } - /// - /// Remove access to a chat for a user. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Remove access to a chat for a user. - /// - /// 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.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder(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 RemoveAllAccessForUserRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs deleted file mode 100644 index acf0167bb4b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ /dev/null @@ -1,198 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.SendActivityNotification -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SendActivityNotificationPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// The activityType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ActivityType - { - get { return BackingStore?.Get("activityType"); } - set { BackingStore?.Set("activityType", value); } - } -#nullable restore -#else - public string ActivityType - { - get { return BackingStore?.Get("activityType"); } - set { BackingStore?.Set("activityType", value); } - } -#endif - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The chainId property - public long? ChainId - { - get { return BackingStore?.Get("chainId"); } - set { BackingStore?.Set("chainId", value); } - } - /// The iconId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? IconId - { - get { return BackingStore?.Get("iconId"); } - set { BackingStore?.Set("iconId", value); } - } -#nullable restore -#else - public string IconId - { - get { return BackingStore?.Get("iconId"); } - set { BackingStore?.Set("iconId", value); } - } -#endif - /// The previewText property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ItemBody? PreviewText - { - get { return BackingStore?.Get("previewText"); } - set { BackingStore?.Set("previewText", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ItemBody PreviewText - { - get { return BackingStore?.Get("previewText"); } - set { BackingStore?.Set("previewText", value); } - } -#endif - /// The recipient property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkNotificationRecipient? Recipient - { - get { return BackingStore?.Get("recipient"); } - set { BackingStore?.Set("recipient", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkNotificationRecipient Recipient - { - get { return BackingStore?.Get("recipient"); } - set { BackingStore?.Set("recipient", value); } - } -#endif - /// The teamsAppId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? TeamsAppId - { - get { return BackingStore?.Get("teamsAppId"); } - set { BackingStore?.Set("teamsAppId", value); } - } -#nullable restore -#else - public string TeamsAppId - { - get { return BackingStore?.Get("teamsAppId"); } - set { BackingStore?.Set("teamsAppId", value); } - } -#endif - /// The templateParameters property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? TemplateParameters - { - get { return BackingStore?.Get?>("templateParameters"); } - set { BackingStore?.Set("templateParameters", value); } - } -#nullable restore -#else - public List TemplateParameters - { - get { return BackingStore?.Get>("templateParameters"); } - set { BackingStore?.Set("templateParameters", value); } - } -#endif - /// The topic property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkActivityTopic? Topic - { - get { return BackingStore?.Get("topic"); } - set { BackingStore?.Set("topic", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkActivityTopic Topic - { - get { return BackingStore?.Get("topic"); } - set { BackingStore?.Set("topic", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SendActivityNotificationPostRequestBody() - { - 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.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "activityType", n => { ActivityType = n.GetStringValue(); } }, - { "chainId", n => { ChainId = n.GetLongValue(); } }, - { "iconId", n => { IconId = n.GetStringValue(); } }, - { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, - { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, - { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, - { "templateParameters", n => { TemplateParameters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.KeyValuePair.CreateFromDiscriminatorValue)?.AsList(); } }, - { "topic", n => { Topic = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkActivityTopic.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("activityType", ActivityType); - writer.WriteLongValue("chainId", ChainId); - writer.WriteStringValue("iconId", IconId); - writer.WriteObjectValue("previewText", PreviewText); - writer.WriteObjectValue("recipient", Recipient); - writer.WriteStringValue("teamsAppId", TeamsAppId); - writer.WriteCollectionOfObjectValues("templateParameters", TemplateParameters); - writer.WriteObjectValue("topic", Topic); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs deleted file mode 100644 index 85359ec6ed2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.SendActivityNotification -{ - /// - /// Provides operations to call the sendActivityNotification method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SendActivityNotificationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SendActivityNotificationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/sendActivityNotification", 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 SendActivityNotificationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/sendActivityNotification", rawUrl) - { - } - /// - /// Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications. - /// - /// 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.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder(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 SendActivityNotificationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs deleted file mode 100644 index 80350e787d6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#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.Me.Chats.Item.StartMigration -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property - public DateTimeOffset? ConversationCreationDateTime - { - get { return BackingStore?.Get("conversationCreationDateTime"); } - set { BackingStore?.Set("conversationCreationDateTime", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public StartMigrationPostRequestBody() - { - 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.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs deleted file mode 100644 index 85c462f4637..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.StartMigration -{ - /// - /// Provides operations to call the startMigration method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class StartMigrationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/startMigration", 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 StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/startMigration", rawUrl) - { - } - /// - /// Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. - /// - /// 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.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Count/CountRequestBuilder.cs deleted file mode 100644 index 7ce0312e97c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.Tabs.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/chats/{chat%2Did}/tabs/$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/chats/{chat%2Did}/tabs/$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.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.Me.Chats.Item.Tabs.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Tabs.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/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs deleted file mode 100644 index 07d1a978638..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Tabs.Item.TeamsApp -{ - /// - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/tabs/{teamsTab%2Did}/teamsApp{?%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 TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/tabs/{teamsTab%2Did}/teamsApp{?%24expand,%24select}", rawUrl) - { - } - /// - /// The application that is linked to the tab. This can't be changed after tab creation. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The application that is linked to the tab. This can't be changed after tab creation. - /// - /// 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.Me.Chats.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The application that is linked to the tab. This can't be changed after tab creation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilderGetQueryParameters - { - /// 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 TeamsAppRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs deleted file mode 100644 index dc207645a63..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Tabs.Item -{ - /// - /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsTabItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. - public global::Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder TeamsApp - { - get => new global::Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder(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 TeamsTabItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/tabs/{teamsTab%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 TeamsTabItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/tabs/{teamsTab%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property tabs 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the tabs in the chat. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property tabs 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; - } - /// - /// A collection of all the tabs in the chat. Nullable. - /// - /// 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 tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder(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 TeamsTabItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of all the tabs in the chat. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsTabItemRequestBuilderGetQueryParameters - { - /// 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 TeamsTabItemRequestBuilderGetRequestConfiguration : 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 TeamsTabItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/TabsRequestBuilder.cs deleted file mode 100644 index 49eaa270c7c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/TabsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.Tabs.Count; -using Microsoft.Graph.Me.Chats.Item.Tabs.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.Tabs -{ - /// - /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TabsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. - /// The unique identifier of teamsTab - /// A - public global::Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamsTab%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder(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 TabsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/tabs{?%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 TabsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/tabs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of all the tabs in the chat. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the tabs in the chat. Nullable. - /// - /// 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 tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of all the tabs in the chat. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TabsRequestBuilderGetQueryParameters - { - /// 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 TabsRequestBuilderGetRequestConfiguration : 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 TabsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs deleted file mode 100644 index 28e912fa13b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.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/chats/{chat%2Did}/targetedMessages/$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/chats/{chat%2Did}/targetedMessages/$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.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.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.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/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs deleted file mode 100644 index 5032e40beeb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.HostedContents.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/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$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/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$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.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.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.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/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs deleted file mode 100644 index 7124ce423d2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.HostedContents -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessageHostedContent - /// A - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessageHostedContent%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%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 HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilderGetQueryParameters - { - /// 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 HostedContentsRequestBuilderGetRequestConfiguration : 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 HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs deleted file mode 100644 index f6d6f01510e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property hostedContents 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property hostedContents 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; - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : 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 ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index acee8d027fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs deleted file mode 100644 index e1f89e078a4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.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/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$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/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$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.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.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.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/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs deleted file mode 100644 index fd75022fe33..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index e622172103b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - /// 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.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs deleted file mode 100644 index 68df8a5426c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Chats.Item.TargetedMessages.Item.Replies.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse, 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.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs deleted file mode 100644 index 3da256d95ef..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ /dev/null @@ -1,259 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item -{ - /// - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setReaction method. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the softDelete method. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the undoSoftDelete method. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unsetReaction method. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(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 ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%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 ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property replies 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property replies 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property replies 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; - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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 replies 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(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 ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageItemRequestBuilderGetRequestConfiguration : 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 ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs deleted file mode 100644 index 77a721990ab..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.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/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$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/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$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.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.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/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs deleted file mode 100644 index 0ddecd84edd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessageHostedContent - /// A - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessageHostedContent%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%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 HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilderGetQueryParameters - { - /// 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 HostedContentsRequestBuilderGetRequestConfiguration : 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 HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs deleted file mode 100644 index 41ab29eef1a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property hostedContents 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property hostedContents 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; - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : 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 ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index 6db64d6fcc0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs deleted file mode 100644 index dffd3f05875..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SetReactionPostRequestBody() - { - 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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs deleted file mode 100644 index b61be799250..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction -{ - /// - /// Provides operations to call the setReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", 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 SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", rawUrl) - { - } - /// - /// Invoke action setReaction - /// - /// 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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action setReaction - /// - /// 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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(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 SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs deleted file mode 100644 index 88d8b67176d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete -{ - /// - /// Provides operations to call the softDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", 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 SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", rawUrl) - { - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(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 SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs deleted file mode 100644 index 073fe9c1b1c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete -{ - /// - /// Provides operations to call the undoSoftDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", 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 UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", rawUrl) - { - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(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 UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs deleted file mode 100644 index 8294a489af1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UnsetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UnsetReactionPostRequestBody() - { - 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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs deleted file mode 100644 index 4b826cb8324..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction -{ - /// - /// Provides operations to call the unsetReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnsetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", 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 UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", rawUrl) - { - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(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 UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs deleted file mode 100644 index 173fd9f079e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies -{ - /// - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RepliesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyWithQuote method. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessage - /// A - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessage%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(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 RepliesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%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 RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to replies 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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 replies 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RepliesRequestBuilderGetQueryParameters - { - /// 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 RepliesRequestBuilderGetRequestConfiguration : 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 RepliesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs deleted file mode 100644 index dd29a6cb827..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyWithQuotePostRequestBody : 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 messageIds property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? MessageIds - { - get { return BackingStore?.Get?>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#nullable restore -#else - public List MessageIds - { - get { return BackingStore?.Get>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#endif - /// The replyMessage property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ChatMessage ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyWithQuotePostRequestBody() - { - 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.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); - writer.WriteObjectValue("replyMessage", ReplyMessage); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs deleted file mode 100644 index 134e5d6c25e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote -{ - /// - /// Provides operations to call the replyWithQuote method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", 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 ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", rawUrl) - { - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// 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 PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// - /// 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.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(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 ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs deleted file mode 100644 index 75d6f2c46f5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages.Item -{ - /// - /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TargetedChatMessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(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 TargetedChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%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 TargetedChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property targetedMessages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. - /// - /// A - /// Cancellation token to use when cancelling requests - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property targetedMessages 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property targetedMessages 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; - } - /// - /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#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 targetedMessages 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(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 TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TargetedChatMessageItemRequestBuilderGetQueryParameters - { - /// 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 TargetedChatMessageItemRequestBuilderGetRequestConfiguration : 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 TargetedChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs deleted file mode 100644 index faf3046ed10..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count; -using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Chats.Item.TargetedMessages -{ - /// - /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TargetedMessagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. - /// The unique identifier of targetedChatMessage - /// A - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("targetedChatMessage%2Did", position); - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(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 TargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages{?%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 TargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. - /// - /// A - /// Cancellation token to use when cancelling requests - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to targetedMessages 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#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 targetedMessages 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TargetedMessagesRequestBuilderGetQueryParameters - { - /// 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 TargetedMessagesRequestBuilderGetRequestConfiguration : 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 TargetedMessagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserPostRequestBody.cs deleted file mode 100644 index fc4443390fb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.UnhideForUser -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UnhideForUserPostRequestBody : 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 user property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkUserIdentity? User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkUserIdentity User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UnhideForUserPostRequestBody() - { - 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.Me.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("user", User); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs deleted file mode 100644 index 33967d597bf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Chats.Item.UnhideForUser -{ - /// - /// Provides operations to call the unhideForUser method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnhideForUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnhideForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/unhideForUser", 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 UnhideForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/unhideForUser", rawUrl) - { - } - /// - /// Unhide a chat for a user. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Unhide a chat for a user. - /// - /// 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.Me.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder(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 UnhideForUserRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs deleted file mode 100644 index 13b4807a83b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.CheckMemberGroups -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CheckMemberGroupsPostRequestBody : 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 groupIds property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? GroupIds - { - get { return BackingStore?.Get?>("groupIds"); } - set { BackingStore?.Set("groupIds", value); } - } -#nullable restore -#else - public List GroupIds - { - get { return BackingStore?.Get>("groupIds"); } - set { BackingStore?.Set("groupIds", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CheckMemberGroupsPostRequestBody() - { - 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.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("groupIds", GroupIds); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsPostResponse.cs deleted file mode 100644 index 45e35004e47..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.CheckMemberGroups -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CheckMemberGroupsPostResponse : global::Microsoft.Graph.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.Me.CheckMemberGroups.CheckMemberGroupsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostResponse(); - } - /// - /// 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.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfPrimitiveValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs deleted file mode 100644 index 7371a5e1e65..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CheckMemberGroups -{ - /// - /// Provides operations to call the checkMemberGroups method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CheckMemberGroupsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CheckMemberGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/checkMemberGroups", 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 CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/checkMemberGroups", rawUrl) - { - } - /// - /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. - /// 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 PostAsCheckMemberGroupsPostResponseAsync(global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsCheckMemberGroupsPostResponseAsync(global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. - /// 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 PostAsCheckMemberGroupsPostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. - /// - /// 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.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsRequestBuilder(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 CheckMemberGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsResponse.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsResponse.cs deleted file mode 100644 index 2827a44484d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.CheckMemberGroups -{ - [Obsolete("This class is obsolete. Use CheckMemberGroupsPostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CheckMemberGroupsResponse : global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostResponse, 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.Me.CheckMemberGroups.CheckMemberGroupsResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs deleted file mode 100644 index e20d0781de3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.CheckMemberObjects -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CheckMemberObjectsPostRequestBody : 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 ids property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Ids - { - get { return BackingStore?.Get?>("ids"); } - set { BackingStore?.Set("ids", value); } - } -#nullable restore -#else - public List Ids - { - get { return BackingStore?.Get>("ids"); } - set { BackingStore?.Set("ids", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CheckMemberObjectsPostRequestBody() - { - 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.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("ids", Ids); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsPostResponse.cs deleted file mode 100644 index e37f7825422..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.CheckMemberObjects -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CheckMemberObjectsPostResponse : global::Microsoft.Graph.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.Me.CheckMemberObjects.CheckMemberObjectsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostResponse(); - } - /// - /// 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.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfPrimitiveValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs deleted file mode 100644 index c78beec38b4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ /dev/null @@ -1,128 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CheckMemberObjects -{ - /// - /// Provides operations to call the checkMemberObjects method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CheckMemberObjectsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CheckMemberObjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/checkMemberObjects", 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 CheckMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/checkMemberObjects", rawUrl) - { - } - /// - /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified - user- group- service principal- organizational contact- device- directory object. This method is transitive. - /// - /// 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 PostAsCheckMemberObjectsPostResponseAsync(global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsCheckMemberObjectsPostResponseAsync(global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified - user- group- service principal- organizational contact- device- directory object. This method is transitive. - /// - /// 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 PostAsCheckMemberObjectsPostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified - user- group- service principal- organizational contact- device- directory object. This method is transitive. - /// - /// 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.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsRequestBuilder(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 CheckMemberObjectsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsResponse.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsResponse.cs deleted file mode 100644 index 6d98d5c76c2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.CheckMemberObjects -{ - [Obsolete("This class is obsolete. Use CheckMemberObjectsPostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CheckMemberObjectsResponse : global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostResponse, 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.Me.CheckMemberObjects.CheckMemberObjectsResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudClipboard/CloudClipboardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudClipboard/CloudClipboardRequestBuilder.cs deleted file mode 100644 index 78061b1d58f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudClipboard/CloudClipboardRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CloudClipboard.Items; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CloudClipboard -{ - /// - /// Provides operations to manage the cloudClipboard property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CloudClipboardRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the items property of the microsoft.graph.cloudClipboardRoot entity. - public global::Microsoft.Graph.Me.CloudClipboard.Items.ItemsRequestBuilder Items - { - get => new global::Microsoft.Graph.Me.CloudClipboard.Items.ItemsRequestBuilder(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 CloudClipboardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudClipboard{?%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 CloudClipboardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudClipboard{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property cloudClipboard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get cloudClipboard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudClipboardRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property cloudClipboard 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.Models.CloudClipboardRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CloudClipboardRoot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudClipboardRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property cloudClipboard 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 cloudClipboard 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 cloudClipboard 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.Models.CloudClipboardRoot body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CloudClipboardRoot body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CloudClipboard.CloudClipboardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudClipboard.CloudClipboardRequestBuilder(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 CloudClipboardRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get cloudClipboard from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CloudClipboardRequestBuilderGetQueryParameters - { - /// 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 CloudClipboardRequestBuilderGetRequestConfiguration : 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 CloudClipboardRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudClipboard/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudClipboard/Items/Count/CountRequestBuilder.cs deleted file mode 100644 index 2b87cc754e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudClipboard/Items/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudClipboard.Items.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/cloudClipboard/items/$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/cloudClipboard/items/$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.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.Me.CloudClipboard.Items.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudClipboard.Items.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/CloudClipboard/Items/Item/CloudClipboardItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudClipboard/Items/Item/CloudClipboardItemItemRequestBuilder.cs deleted file mode 100644 index 100b89f5074..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudClipboard/Items/Item/CloudClipboardItemItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CloudClipboard.Items.Item -{ - /// - /// Provides operations to manage the items property of the microsoft.graph.cloudClipboardRoot entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CloudClipboardItemItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CloudClipboardItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudClipboard/items/{cloudClipboardItem%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 CloudClipboardItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudClipboard/items/{cloudClipboardItem%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property items 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents a collection of Cloud Clipboard items. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudClipboardItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property items 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.Models.CloudClipboardItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CloudClipboardItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudClipboardItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property items for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents a collection of Cloud Clipboard items. - /// - /// 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 items 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.Models.CloudClipboardItem body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CloudClipboardItem body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder(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 CloudClipboardItemItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents a collection of Cloud Clipboard items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CloudClipboardItemItemRequestBuilderGetQueryParameters - { - /// 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 CloudClipboardItemItemRequestBuilderGetRequestConfiguration : 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 CloudClipboardItemItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudClipboard/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudClipboard/Items/ItemsRequestBuilder.cs deleted file mode 100644 index f31e8064a43..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudClipboard/Items/ItemsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CloudClipboard.Items.Count; -using Microsoft.Graph.Me.CloudClipboard.Items.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CloudClipboard.Items -{ - /// - /// Provides operations to manage the items property of the microsoft.graph.cloudClipboardRoot entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ItemsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the items property of the microsoft.graph.cloudClipboardRoot entity. - /// The unique identifier of cloudClipboardItem - /// A - public global::Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("cloudClipboardItem%2Did", position); - return new global::Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder(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 ItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudClipboard/items{?%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 ItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudClipboard/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Represents a collection of Cloud Clipboard items. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudClipboardItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to items 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.Models.CloudClipboardItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CloudClipboardItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudClipboardItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents a collection of Cloud Clipboard items. - /// - /// 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 items 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.Models.CloudClipboardItem body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CloudClipboardItem body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CloudClipboard.Items.ItemsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudClipboard.Items.ItemsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Represents a collection of Cloud Clipboard items. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ItemsRequestBuilderGetQueryParameters - { - /// 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 ItemsRequestBuilderGetRequestConfiguration : 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 ItemsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/CloudPCsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/CloudPCsRequestBuilder.cs deleted file mode 100644 index 74db8e6cf98..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/CloudPCsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CloudPCs.Count; -using Microsoft.Graph.Me.CloudPCs.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CloudPCs -{ - /// - /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CloudPCsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. - /// The unique identifier of cloudPC - /// A - public global::Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("cloudPC%2Did", position); - return new global::Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder(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 CloudPCsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs{?%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 CloudPCsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// List the cloudPC devices that are attributed to the signed-in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudPCCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to cloudPCs 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.Models.CloudPC body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CloudPC body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List the cloudPC devices that are attributed to the signed-in user. - /// - /// 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 cloudPCs 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.Models.CloudPC body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CloudPC body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List the cloudPC devices that are attributed to the signed-in user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CloudPCsRequestBuilderGetQueryParameters - { - /// 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 CloudPCsRequestBuilderGetRequestConfiguration : 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 CloudPCsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Count/CountRequestBuilder.cs deleted file mode 100644 index 542757626c8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudPCs.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/cloudPCs/$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/cloudPCs/$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.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.Me.CloudPCs.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.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/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs deleted file mode 100644 index c9f2cc73224..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs +++ /dev/null @@ -1,277 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod; -using Microsoft.Graph.Me.CloudPCs.Item.Reboot; -using Microsoft.Graph.Me.CloudPCs.Item.Rename; -using Microsoft.Graph.Me.CloudPCs.Item.Reprovision; -using Microsoft.Graph.Me.CloudPCs.Item.Resize; -using Microsoft.Graph.Me.CloudPCs.Item.Restore; -using Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail; -using Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CloudPCs.Item -{ - /// - /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CloudPCItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the endGracePeriod method. - public global::Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder EndGracePeriod - { - get => new global::Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the reboot method. - public global::Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder Reboot - { - get => new global::Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the rename method. - public global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder Rename - { - get => new global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the reprovision method. - public global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Reprovision - { - get => new global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the resize method. - public global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder Resize - { - get => new global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the restore method. - public global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder Restore - { - get => new global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the retrieveCloudPcLaunchDetail method. - public global::Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder RetrieveCloudPcLaunchDetail - { - get => new global::Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the troubleshoot method. - public global::Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder Troubleshoot - { - get => new global::Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder(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 CloudPCItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%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 CloudPCItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property cloudPCs 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The user's Cloud PCs. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property cloudPCs 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.Models.CloudPC body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CloudPC body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property cloudPCs 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; - } - /// - /// The user's Cloud PCs. Read-only. Nullable. - /// - /// 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 cloudPCs 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.Models.CloudPC body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CloudPC body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder(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 CloudPCItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The user's Cloud PCs. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CloudPCItemRequestBuilderGetQueryParameters - { - /// 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 CloudPCItemRequestBuilderGetRequestConfiguration : 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 CloudPCItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs deleted file mode 100644 index 13d28d2e94f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudPCs.Item.EndGracePeriod -{ - /// - /// Provides operations to call the endGracePeriod method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EndGracePeriodRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public EndGracePeriodRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/endGracePeriod", 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 EndGracePeriodRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/endGracePeriod", rawUrl) - { - } - /// - /// End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. - /// - /// 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.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder(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 EndGracePeriodRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reboot/RebootRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reboot/RebootRequestBuilder.cs deleted file mode 100644 index d3ce0235cc1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reboot/RebootRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudPCs.Item.Reboot -{ - /// - /// Provides operations to call the reboot method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RebootRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RebootRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/reboot", 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 RebootRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/reboot", rawUrl) - { - } - /// - /// Reboot a specific cloudPC object. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reboot a specific cloudPC 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 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.Me.CloudPCs.Item.Reboot.RebootRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder(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 RebootRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenamePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenamePostRequestBody.cs deleted file mode 100644 index 847767bfe94..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenamePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.CloudPCs.Item.Rename -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RenamePostRequestBody : 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 - /// - /// Instantiates a new and sets the default values. - /// - public RenamePostRequestBody() - { - 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.Me.CloudPCs.Item.Rename.RenamePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "displayName", n => { DisplayName = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("displayName", DisplayName); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenameRequestBuilder.cs deleted file mode 100644 index 1bef02e8b9b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Rename/RenameRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudPCs.Item.Rename -{ - /// - /// Provides operations to call the rename method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RenameRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RenameRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/rename", 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 RenameRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/rename", rawUrl) - { - } - /// - /// Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity. - /// - /// 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.Me.CloudPCs.Item.Rename.RenamePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder(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 RenameRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs deleted file mode 100644 index 91738b9c400..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs +++ /dev/null @@ -1,80 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudPCs.Item.Reprovision -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReprovisionPostRequestBody : 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 osVersion property - public global::Microsoft.Graph.Models.CloudPcOperatingSystem? OsVersion - { - get { return BackingStore?.Get("osVersion"); } - set { BackingStore?.Set("osVersion", value); } - } - /// The userAccountType property - public global::Microsoft.Graph.Models.CloudPcUserAccountType? UserAccountType - { - get { return BackingStore?.Get("userAccountType"); } - set { BackingStore?.Set("userAccountType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public ReprovisionPostRequestBody() - { - 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.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "osVersion", n => { OsVersion = n.GetEnumValue(); } }, - { "userAccountType", n => { UserAccountType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteEnumValue("osVersion", OsVersion); - writer.WriteEnumValue("userAccountType", UserAccountType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs deleted file mode 100644 index 7e7dc25f622..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudPCs.Item.Reprovision -{ - /// - /// Provides operations to call the reprovision method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReprovisionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReprovisionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/reprovision", 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 ReprovisionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/reprovision", rawUrl) - { - } - /// - /// Reprovision a specific Cloud PC. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reprovision a specific Cloud PC. - /// - /// 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.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder(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 ReprovisionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizePostRequestBody.cs deleted file mode 100644 index 4ff5397c708..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.CloudPCs.Item.Resize -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ResizePostRequestBody : 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 targetServicePlanId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? TargetServicePlanId - { - get { return BackingStore?.Get("targetServicePlanId"); } - set { BackingStore?.Set("targetServicePlanId", value); } - } -#nullable restore -#else - public string TargetServicePlanId - { - get { return BackingStore?.Get("targetServicePlanId"); } - set { BackingStore?.Set("targetServicePlanId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ResizePostRequestBody() - { - 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.Me.CloudPCs.Item.Resize.ResizePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "targetServicePlanId", n => { TargetServicePlanId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("targetServicePlanId", TargetServicePlanId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizeRequestBuilder.cs deleted file mode 100644 index ca87bde142f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Resize/ResizeRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudPCs.Item.Resize -{ - /// - /// Provides operations to call the resize method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResizeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResizeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/resize", 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 ResizeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/resize", rawUrl) - { - } - /// - /// Upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. - /// - /// 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.Me.CloudPCs.Item.Resize.ResizePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder(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 ResizeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestorePostRequestBody.cs deleted file mode 100644 index 06cd44e5c5c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestorePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.CloudPCs.Item.Restore -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The cloudPcSnapshotId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? CloudPcSnapshotId - { - get { return BackingStore?.Get("cloudPcSnapshotId"); } - set { BackingStore?.Set("cloudPcSnapshotId", value); } - } -#nullable restore -#else - public string CloudPcSnapshotId - { - get { return BackingStore?.Get("cloudPcSnapshotId"); } - set { BackingStore?.Set("cloudPcSnapshotId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public RestorePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "cloudPcSnapshotId", n => { CloudPcSnapshotId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("cloudPcSnapshotId", CloudPcSnapshotId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestoreRequestBuilder.cs deleted file mode 100644 index 439f98b7546..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Restore/RestoreRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudPCs.Item.Restore -{ - /// - /// Provides operations to call the restore method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RestoreRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/restore", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/restore", rawUrl) - { - } - /// - /// Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. - /// - /// 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.Me.CloudPCs.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs deleted file mode 100644 index 965911e45b9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail -{ - /// - /// Provides operations to call the retrieveCloudPcLaunchDetail method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RetrieveCloudPcLaunchDetailRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RetrieveCloudPcLaunchDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", 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 RetrieveCloudPcLaunchDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", rawUrl) - { - } - /// - /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CloudPcLaunchDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. - /// - /// 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.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(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 RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs deleted file mode 100644 index c04ce83a6be..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CloudPCs.Item.Troubleshoot -{ - /// - /// Provides operations to call the troubleshoot method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TroubleshootRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TroubleshootRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/troubleshoot", 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 TroubleshootRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/troubleshoot", rawUrl) - { - } - /// - /// Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host. - /// - /// 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.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder(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 TroubleshootRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/ContactFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/ContactFoldersRequestBuilder.cs deleted file mode 100644 index 99e657d979a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/ContactFoldersRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Count; -using Microsoft.Graph.Me.ContactFolders.Delta; -using Microsoft.Graph.Me.ContactFolders.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders -{ - /// - /// Provides operations to manage the contactFolders property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactFoldersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.ContactFolders.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.ContactFolders.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the contactFolders property of the microsoft.graph.user entity. - /// The unique identifier of contactFolder - /// A - public global::Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("contactFolder%2Did", position); - return new global::Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder(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 ContactFoldersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders{?%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 ContactFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the contact folder collection in the default Contacts folder of the signed-in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. - /// 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 PostAsync(global::Microsoft.Graph.Models.ContactFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ContactFolder body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the contact folder collection in the default Contacts folder of the signed-in user. - /// - /// 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 a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. - /// - /// 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.Models.ContactFolder body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ContactFolder body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.ContactFoldersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.ContactFoldersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the contact folder collection in the default Contacts folder of the signed-in user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactFoldersRequestBuilderGetQueryParameters - { - /// 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 ContactFoldersRequestBuilderGetRequestConfiguration : 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 ContactFoldersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Count/CountRequestBuilder.cs deleted file mode 100644 index ea6e2d4f199..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.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/contactFolders/$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/contactFolders/$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.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.Me.ContactFolders.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.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/ContactFolders/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaGetResponse.cs deleted file mode 100644 index ad6bb29e462..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.ContactFolders.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.ContactFolders.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ContactFolders.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.ContactFolder.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 4acb72d1f68..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ContactFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ContactFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. - /// - /// 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.Me.ContactFolders.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaResponse.cs deleted file mode 100644 index 482b7eaba80..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.ContactFolders.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.ContactFolders.Delta.DeltaGetResponse, 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.Me.ContactFolders.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ContactFolders.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs deleted file mode 100644 index fc3d8101a54..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count; -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta; -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders -{ - /// - /// Provides operations to manage the childFolders property of the microsoft.graph.contactFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChildFoldersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the childFolders property of the microsoft.graph.contactFolder entity. - /// The unique identifier of contactFolder - /// A - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("contactFolder%2Did1", position); - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder(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 ChildFoldersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders{?%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 ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a collection of child folders under the specified contact folder. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. - /// 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 PostAsync(global::Microsoft.Graph.Models.ContactFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ContactFolder body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a collection of child folders under the specified contact folder. - /// - /// 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 a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. - /// - /// 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.Models.ContactFolder body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ContactFolder body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.ChildFoldersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.ChildFoldersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a collection of child folders under the specified contact folder. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChildFoldersRequestBuilderGetQueryParameters - { - /// 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 ChildFoldersRequestBuilderGetRequestConfiguration : 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 ChildFoldersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs deleted file mode 100644 index ab379c6966c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.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/contactFolders/{contactFolder%2Did}/childFolders/$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/contactFolders/{contactFolder%2Did}/childFolders/$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.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.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.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/ContactFolders/Item/ChildFolders/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaGetResponse.cs deleted file mode 100644 index 381b853a07c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.ContactFolders.Item.ChildFolders.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.ContactFolder.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 865de78b831..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. - /// - /// 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.Me.ContactFolders.Item.ChildFolders.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaResponse.cs deleted file mode 100644 index 1b1da1db78d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.ContactFolders.Item.ChildFolders.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaGetResponse, 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.Me.ContactFolders.Item.ChildFolders.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs deleted file mode 100644 index 79a326d8e5a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts; -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item -{ - /// - /// Provides operations to manage the childFolders property of the microsoft.graph.contactFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactFolderItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.ContactsRequestBuilder Contacts - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.ContactsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 ContactFolderItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}{?%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 ContactFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property childFolders 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of child folders in the folder. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property childFolders 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.Models.ContactFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ContactFolder body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property childFolders 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; - } - /// - /// The collection of child folders in the folder. Navigation property. Read-only. Nullable. - /// - /// 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 childFolders 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.Models.ContactFolder body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ContactFolder body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder(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 ContactFolderItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of child folders in the folder. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactFolderItemRequestBuilderGetQueryParameters - { - /// 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 ContactFolderItemRequestBuilderGetRequestConfiguration : 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 ContactFolderItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs deleted file mode 100644 index 48505ec5881..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count; -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta; -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts -{ - /// - /// Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. - /// The unique identifier of contact - /// A - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("contact%2Did", position); - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder(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 ContactsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts{?%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 ContactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The contacts in the folder. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to contacts 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.Models.Contact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The contacts in the folder. Navigation property. Read-only. Nullable. - /// - /// 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 contacts 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.Models.Contact body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.ContactsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.ContactsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The contacts in the folder. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactsRequestBuilderGetQueryParameters - { - /// 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 ContactsRequestBuilderGetRequestConfiguration : 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 ContactsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs deleted file mode 100644 index db3add380e2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.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/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/$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/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/$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.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.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/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaGetResponse.cs deleted file mode 100644 index 37c17320bd4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Contact.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index c98602457bb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// - /// 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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaResponse.cs deleted file mode 100644 index 36e4467d146..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaGetResponse, 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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs deleted file mode 100644 index aa32f2cd570..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs +++ /dev/null @@ -1,247 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions; -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete; -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item -{ - /// - /// Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the photo property of the microsoft.graph.contact entity. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder Photo - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder(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 ContactItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%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 ContactItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property contacts 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The contacts in the folder. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property contacts 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.Models.Contact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property contacts 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; - } - /// - /// The contacts in the folder. Navigation property. Read-only. Nullable. - /// - /// 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 contacts 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.Models.Contact body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder(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 ContactItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The contacts in the folder. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactItemRequestBuilderGetQueryParameters - { - /// 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 ContactItemRequestBuilderGetRequestConfiguration : 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 ContactItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 5193533f2cb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.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/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions/$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/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions/$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.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.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/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index 653298ca66d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count; -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 6488dd0a6e9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index a1ab9363aa4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs deleted file mode 100644 index b3207267de8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs +++ /dev/null @@ -1,186 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo -{ - /// - /// Provides operations to manage the photo property of the microsoft.graph.contact entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder(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 PhotoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/photo{?%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 PhotoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/photo{?%24expand,%24select}", rawUrl) - { - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property photo 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.Models.ProfilePhoto body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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 photo 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.Models.ProfilePhoto body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilderGetQueryParameters - { - /// 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 PhotoRequestBuilderGetRequestConfiguration : 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 PhotoRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs deleted file mode 100644 index e6b67bea719..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/photo/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/photo/$value", rawUrl) - { - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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; - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index 5aacfe8534a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ContactFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ContactFolderItemRequestBuilder.cs deleted file mode 100644 index f3e001ffa4c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ContactFolderItemRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.ChildFolders; -using Microsoft.Graph.Me.ContactFolders.Item.Contacts; -using Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item -{ - /// - /// Provides operations to manage the contactFolders property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactFolderItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the childFolders property of the microsoft.graph.contactFolder entity. - public global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.ChildFoldersRequestBuilder ChildFolders - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.ChildFoldersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.ContactsRequestBuilder Contacts - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.ContactsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 ContactFolderItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%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 ContactFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete contactFolder other than the default contactFolder. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of contactfolder object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.ContactFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ContactFolder body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete contactFolder other than the default contactFolder. - /// - /// 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 a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: - /// - /// 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 properties of contactfolder object. - /// - /// 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.Models.ContactFolder body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ContactFolder body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder(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 ContactFolderItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactFolderItemRequestBuilderGetQueryParameters - { - /// 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 ContactFolderItemRequestBuilderGetRequestConfiguration : 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 ContactFolderItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs deleted file mode 100644 index da29cc701a4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count; -using Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta; -using Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts -{ - /// - /// Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. - /// The unique identifier of contact - /// A - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("contact%2Did", position); - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder(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 ContactsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts{?%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 ContactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. - /// 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 PostAsync(global::Microsoft.Graph.Models.Contact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. - /// - /// 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 a contact to the root Contacts folder or to the contacts endpoint of another contact folder. - /// - /// 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.Models.Contact body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.ContactsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.ContactsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactsRequestBuilderGetQueryParameters - { - /// 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 ContactsRequestBuilderGetRequestConfiguration : 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 ContactsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs deleted file mode 100644 index 3d123bff90d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts.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/contactFolders/{contactFolder%2Did}/contacts/$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/contactFolders/{contactFolder%2Did}/contacts/$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.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.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.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/ContactFolders/Item/Contacts/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaGetResponse.cs deleted file mode 100644 index 9f8697c7683..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.ContactFolders.Item.Contacts.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Contact.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 63ba6c8eb9d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// - /// 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.Me.ContactFolders.Item.Contacts.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaResponse.cs deleted file mode 100644 index a5dc2420f74..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.ContactFolders.Item.Contacts.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaGetResponse, 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.Me.ContactFolders.Item.Contacts.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs deleted file mode 100644 index 244d9f5db04..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs +++ /dev/null @@ -1,247 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions; -using Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete; -using Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts.Item -{ - /// - /// Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the photo property of the microsoft.graph.contact entity. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder Photo - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder(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 ContactItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%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 ContactItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property contacts 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The contacts in the folder. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property contacts 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.Models.Contact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property contacts 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; - } - /// - /// The contacts in the folder. Navigation property. Read-only. Nullable. - /// - /// 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 contacts 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.Models.Contact body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder(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 ContactItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The contacts in the folder. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactItemRequestBuilderGetQueryParameters - { - /// 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 ContactItemRequestBuilderGetRequestConfiguration : 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 ContactItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 03928eb874a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts.Item.Extensions.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/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions/$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/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions/$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.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.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.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/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index a56cfff388e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count; -using Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index a48d8b12c9d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index 85688cc2de9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs deleted file mode 100644 index e445b71ccf4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs +++ /dev/null @@ -1,186 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts.Item.Photo -{ - /// - /// Provides operations to manage the photo property of the microsoft.graph.contact entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder(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 PhotoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/photo{?%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 PhotoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/photo{?%24expand,%24select}", rawUrl) - { - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property photo 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.Models.ProfilePhoto body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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 photo 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.Models.ProfilePhoto body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilderGetQueryParameters - { - /// 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 PhotoRequestBuilderGetRequestConfiguration : 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 PhotoRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs deleted file mode 100644 index 03dc02956ca..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.Contacts.Item.Photo.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/photo/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/photo/$value", rawUrl) - { - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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; - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index af126bb24f1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ContactFolders.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.ContactFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/ContactsRequestBuilder.cs deleted file mode 100644 index eb89e2794a6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/ContactsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Contacts.Count; -using Microsoft.Graph.Me.Contacts.Delta; -using Microsoft.Graph.Me.Contacts.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Contacts -{ - /// - /// Provides operations to manage the contacts property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Contacts.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Contacts.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the contacts property of the microsoft.graph.user entity. - /// The unique identifier of contact - /// A - public global::Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("contact%2Did", position); - return new global::Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder(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 ContactsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts{?%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 ContactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. - /// 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 PostAsync(global::Microsoft.Graph.Models.Contact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: - /// - /// 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 a contact to the root Contacts folder or to the contacts endpoint of another contact folder. - /// - /// 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.Models.Contact body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Contacts.ContactsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.ContactsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactsRequestBuilderGetQueryParameters - { - /// 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 ContactsRequestBuilderGetRequestConfiguration : 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 ContactsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Count/CountRequestBuilder.cs deleted file mode 100644 index 144e59f4e6b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Contacts.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/contacts/$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/contacts/$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.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.Me.Contacts.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.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/Contacts/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaGetResponse.cs deleted file mode 100644 index faea68fb440..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Contacts.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Contacts.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Contacts.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Contact.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 26a53167b5b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Contacts.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Contacts.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Contacts.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// - /// 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.Me.Contacts.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaResponse.cs deleted file mode 100644 index 5818cc46baf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Contacts.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Contacts.Delta.DeltaGetResponse, 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.Me.Contacts.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Contacts.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/ContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/ContactItemRequestBuilder.cs deleted file mode 100644 index 7db9c18f0ac..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/ContactItemRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Contacts.Item.Extensions; -using Microsoft.Graph.Me.Contacts.Item.PermanentDelete; -using Microsoft.Graph.Me.Contacts.Item.Photo; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Contacts.Item -{ - /// - /// Provides operations to manage the contacts property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - public global::Microsoft.Graph.Me.Contacts.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.Contacts.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the photo property of the microsoft.graph.contact entity. - public global::Microsoft.Graph.Me.Contacts.Item.Photo.PhotoRequestBuilder Photo - { - get => new global::Microsoft.Graph.Me.Contacts.Item.Photo.PhotoRequestBuilder(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 ContactItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%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 ContactItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete a contact. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of a contact object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.Contact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a contact. - /// - /// 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; - } - /// - /// Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: - /// - /// 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 properties of a contact object. - /// - /// 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.Models.Contact body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Contact body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder(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 ContactItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContactItemRequestBuilderGetQueryParameters - { - /// 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 ContactItemRequestBuilderGetRequestConfiguration : 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 ContactItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 0fdd05ee17b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Contacts.Item.Extensions.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/contacts/{contact%2Did}/extensions/$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/contacts/{contact%2Did}/extensions/$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.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.Me.Contacts.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.Item.Extensions.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/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index 9e85884290a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Contacts.Item.Extensions.Count; -using Microsoft.Graph.Me.Contacts.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Contacts.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Contacts.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 9768625d865..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Contacts.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.contact entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the contact. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index de8b5fc6573..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Contacts.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/PhotoRequestBuilder.cs deleted file mode 100644 index 497289ed27d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/PhotoRequestBuilder.cs +++ /dev/null @@ -1,186 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Contacts.Item.Photo.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Contacts.Item.Photo -{ - /// - /// Provides operations to manage the photo property of the microsoft.graph.contact entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder(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 PhotoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/photo{?%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 PhotoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/photo{?%24expand,%24select}", rawUrl) - { - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property photo 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.Models.ProfilePhoto body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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 photo 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.Models.ProfilePhoto body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Contacts.Item.Photo.PhotoRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.Item.Photo.PhotoRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilderGetQueryParameters - { - /// 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 PhotoRequestBuilderGetRequestConfiguration : 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 PhotoRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/Value/ContentRequestBuilder.cs deleted file mode 100644 index d905cce1470..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Contacts.Item.Photo.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/photo/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/contacts/{contact%2Did}/photo/$value", rawUrl) - { - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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; - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// Optional contact picture. You can get or set a photo for a contact. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Contacts.Item.Photo.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/Count/CountRequestBuilder.cs deleted file mode 100644 index f24f4d9d93f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CreatedObjects.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/createdObjects/$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/createdObjects/$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.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.Me.CreatedObjects.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CreatedObjects.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/CreatedObjects/CreatedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/CreatedObjectsRequestBuilder.cs deleted file mode 100644 index 0664c7ce50c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/CreatedObjectsRequestBuilder.cs +++ /dev/null @@ -1,190 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CreatedObjects.Count; -using Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal; -using Microsoft.Graph.Me.CreatedObjects.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CreatedObjects -{ - /// - /// Provides operations to manage the createdObjects property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreatedObjectsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to servicePrincipal. - public global::Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder GraphServicePrincipal - { - get => new global::Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the createdObjects property of the microsoft.graph.user entity. - /// The unique identifier of directoryObject - /// A - public global::Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("directoryObject%2Did", position); - return new global::Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder(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 CreatedObjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/createdObjects{?%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 CreatedObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/createdObjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty 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.Me.CreatedObjects.CreatedObjectsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CreatedObjects.CreatedObjectsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreatedObjectsRequestBuilderGetQueryParameters - { - /// 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 CreatedObjectsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs deleted file mode 100644 index 71817247a31..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.CreatedObjects.GraphServicePrincipal.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/createdObjects/graph.servicePrincipal/$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/createdObjects/graph.servicePrincipal/$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.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.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.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/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs deleted file mode 100644 index a2e043a8335..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CreatedObjects.GraphServicePrincipal -{ - /// - /// Casts the previous resource to servicePrincipal. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphServicePrincipalRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.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 GraphServicePrincipalRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/createdObjects/graph.servicePrincipal{?%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 GraphServicePrincipalRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/createdObjects/graph.servicePrincipal{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection - /// - /// 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.Me.CreatedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphServicePrincipalRequestBuilderGetQueryParameters - { - /// 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 GraphServicePrincipalRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs deleted file mode 100644 index 16a09696d24..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ /dev/null @@ -1,131 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CreatedObjects.Item -{ - /// - /// Provides operations to manage the createdObjects property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder - { - /// Casts the previous resource to servicePrincipal. - public global::Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder GraphServicePrincipal - { - get => new global::Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder(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 DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/createdObjects/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/createdObjects/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Directory objects that the user created. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Directory objects that the user created. Read-only. Nullable. - /// - /// 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.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Directory objects that the user created. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs deleted file mode 100644 index afb72c79281..00000000000 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.CreatedObjects.Item.GraphServicePrincipal -{ - /// - /// Casts the previous resource to servicePrincipal. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphServicePrincipalRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphServicePrincipalRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/createdObjects/{directoryObject%2Did}/graph.servicePrincipal{?%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 GraphServicePrincipalRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/createdObjects/{directoryObject%2Did}/graph.servicePrincipal{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal - /// - /// 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.Me.CreatedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphServicePrincipalRequestBuilderGetQueryParameters - { - /// 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 GraphServicePrincipalRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.cs deleted file mode 100644 index 31e551fffbf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.Activities -{ - /// - /// Provides operations to manage the activities property of the microsoft.graph.userDataSecurityAndGovernance entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ActivitiesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder ContentActivities - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder(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 ActivitiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities{?%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 ActivitiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property activities 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivitiesContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property activities 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.Models.ActivitiesContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ActivitiesContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivitiesContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property activities 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; - } - /// - /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. - /// - /// 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 activities 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.Models.ActivitiesContainer body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ActivitiesContainer body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder(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 ActivitiesRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ActivitiesRequestBuilderGetQueryParameters - { - /// 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 ActivitiesRequestBuilderGetRequestConfiguration : 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 ActivitiesRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.cs deleted file mode 100644 index da1b8e33775..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count; -using Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.Activities.ContentActivities -{ - /// - /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentActivitiesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. - /// The unique identifier of contentActivity - /// A - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("contentActivity%2Did", position); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder(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 ContentActivitiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities{?%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 ContentActivitiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Collection of activity logs related to content processing. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a content activity for the signed-in user. - /// 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 PostAsync(global::Microsoft.Graph.Models.ContentActivity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Collection of activity logs related to content processing. - /// - /// 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 a content activity for the signed-in user. - /// - /// 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.Models.ContentActivity body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Collection of activity logs related to content processing. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentActivitiesRequestBuilderGetQueryParameters - { - /// 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 ContentActivitiesRequestBuilderGetRequestConfiguration : 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 ContentActivitiesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.cs deleted file mode 100644 index b467d4ffa43..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.Activities.ContentActivities.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/dataSecurityAndGovernance/activities/contentActivities/$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/dataSecurityAndGovernance/activities/contentActivities/$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.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.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.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/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.cs deleted file mode 100644 index cea9b06dc72..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item -{ - /// - /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentActivityItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentActivityItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities/{contentActivity%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 ContentActivityItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities/{contentActivity%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property contentActivities 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Collection of activity logs related to content processing. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property contentActivities 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.Models.ContentActivity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property contentActivities 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; - } - /// - /// Collection of activity logs related to content processing. - /// - /// 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 contentActivities 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.Models.ContentActivity body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder(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 ContentActivityItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Collection of activity logs related to content processing. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentActivityItemRequestBuilderGetQueryParameters - { - /// 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 ContentActivityItemRequestBuilderGetRequestConfiguration : 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 ContentActivityItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs deleted file mode 100644 index 0bec571ef64..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs +++ /dev/null @@ -1,253 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DataSecurityAndGovernance.Activities; -using Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent; -using Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes; -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance -{ - /// - /// Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DataSecurityAndGovernanceRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the activities property of the microsoft.graph.userDataSecurityAndGovernance entity. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder Activities - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the processContent method. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder ProcessContent - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder ProtectionScopes - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.SensitivityLabelsRequestBuilder SensitivityLabels - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.SensitivityLabelsRequestBuilder(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 DataSecurityAndGovernanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance{?%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 DataSecurityAndGovernanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property dataSecurityAndGovernance 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The data security and governance settings for the user. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserDataSecurityAndGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property dataSecurityAndGovernance 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.Models.UserDataSecurityAndGovernance body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserDataSecurityAndGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property dataSecurityAndGovernance 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; - } - /// - /// The data security and governance settings for the user. Read-only. Nullable. - /// - /// 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 dataSecurityAndGovernance 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.Models.UserDataSecurityAndGovernance body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder(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 DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The data security and governance settings for the user. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DataSecurityAndGovernanceRequestBuilderGetQueryParameters - { - /// 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 DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration : 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 DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.cs deleted file mode 100644 index bdfe5dabd54..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.ProcessContent -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ProcessContentPostRequestBody : 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 contentToProcess property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ProcessContentRequest? ContentToProcess - { - get { return BackingStore?.Get("contentToProcess"); } - set { BackingStore?.Set("contentToProcess", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ProcessContentRequest ContentToProcess - { - get { return BackingStore?.Get("contentToProcess"); } - set { BackingStore?.Set("contentToProcess", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ProcessContentPostRequestBody() - { - 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.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "contentToProcess", n => { ContentToProcess = n.GetObjectValue(global::Microsoft.Graph.Models.ProcessContentRequest.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("contentToProcess", ContentToProcess); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs deleted file mode 100644 index c59ab4e26bc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.ProcessContent -{ - /// - /// Provides operations to call the processContent method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProcessContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ProcessContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/processContent", 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 ProcessContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/processContent", rawUrl) - { - } - /// - /// Process content against data protection policies in the context of the current, or specified, user. - /// 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 PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProcessContentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Process content against data protection policies in the context of the current, or specified, user. - /// - /// 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.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder(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 ProcessContentRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs deleted file mode 100644 index cdcfc4436ff..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs +++ /dev/null @@ -1,134 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ComputePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// The activities property - public global::Microsoft.Graph.Models.UserActivityTypes? Activities - { - get { return BackingStore?.Get("activities"); } - set { BackingStore?.Set("activities", value); } - } - /// 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 deviceMetadata property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DeviceMetadata? DeviceMetadata - { - get { return BackingStore?.Get("deviceMetadata"); } - set { BackingStore?.Set("deviceMetadata", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DeviceMetadata DeviceMetadata - { - get { return BackingStore?.Get("deviceMetadata"); } - set { BackingStore?.Set("deviceMetadata", value); } - } -#endif - /// The integratedAppMetadata property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.IntegratedApplicationMetadata? IntegratedAppMetadata - { - get { return BackingStore?.Get("integratedAppMetadata"); } - set { BackingStore?.Set("integratedAppMetadata", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.IntegratedApplicationMetadata IntegratedAppMetadata - { - get { return BackingStore?.Get("integratedAppMetadata"); } - set { BackingStore?.Set("integratedAppMetadata", value); } - } -#endif - /// The locations property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Locations - { - get { return BackingStore?.Get?>("locations"); } - set { BackingStore?.Set("locations", value); } - } -#nullable restore -#else - public List Locations - { - get { return BackingStore?.Get>("locations"); } - set { BackingStore?.Set("locations", value); } - } -#endif - /// The pivotOn property - public global::Microsoft.Graph.Models.PolicyPivotProperty? PivotOn - { - get { return BackingStore?.Get("pivotOn"); } - set { BackingStore?.Set("pivotOn", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public ComputePostRequestBody() - { - 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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "activities", n => { Activities = n.GetEnumValue(); } }, - { "deviceMetadata", n => { DeviceMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.DeviceMetadata.CreateFromDiscriminatorValue); } }, - { "integratedAppMetadata", n => { IntegratedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.IntegratedApplicationMetadata.CreateFromDiscriminatorValue); } }, - { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, - { "pivotOn", n => { PivotOn = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteEnumValue("activities", Activities); - writer.WriteObjectValue("deviceMetadata", DeviceMetadata); - writer.WriteObjectValue("integratedAppMetadata", IntegratedAppMetadata); - writer.WriteCollectionOfObjectValues("locations", Locations); - writer.WriteEnumValue("pivotOn", PivotOn); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs deleted file mode 100644 index c401adbee88..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ComputePostResponse : global::Microsoft.Graph.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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse(); - } - /// - /// 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.Models.PolicyUserScope.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs deleted file mode 100644 index 1ade7df5150..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs +++ /dev/null @@ -1,128 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute -{ - /// - /// Provides operations to call the compute method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ComputeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ComputeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes/compute", 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 ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes/compute", rawUrl) - { - } - /// - /// Invoke action compute - /// - /// 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 PostAsComputePostResponseAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action compute - /// - /// 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 PostAsComputePostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action compute - /// - /// 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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(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 ComputeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs deleted file mode 100644 index e399e127665..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute -{ - [Obsolete("This class is obsolete. Use ComputePostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ComputeResponse : global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse, 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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs deleted file mode 100644 index d373560b4ed..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.ProtectionScopes -{ - /// - /// Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProtectionScopesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the compute method. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Compute - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(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 ProtectionScopesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes{?%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 ProtectionScopesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property protectionScopes 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get protectionScopes 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserProtectionScopeContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property protectionScopes 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.Models.UserProtectionScopeContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserProtectionScopeContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property protectionScopes 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 protectionScopes 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 protectionScopes 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.Models.UserProtectionScopeContainer body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder(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 ProtectionScopesRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get protectionScopes from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProtectionScopesRequestBuilderGetQueryParameters - { - /// 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 ProtectionScopesRequestBuilderGetRequestConfiguration : 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 ProtectionScopesRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs deleted file mode 100644 index 837f5c58d8a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs +++ /dev/null @@ -1,105 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats -{ - /// - /// Provides operations to call the computeInheritance method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Usage: contentFormats={contentFormats} - /// Usage: labelIds={labelIds} - /// Usage: locale='{locale}' - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) - { - if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); - if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); - if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); - } - /// - /// 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) - { - } - /// - /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. - /// - /// 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.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs deleted file mode 100644 index a0ea292cb0a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs +++ /dev/null @@ -1,136 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ComputeRightsAndInheritancePostRequestBody : 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 delegatedUserEmail property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DelegatedUserEmail - { - get { return BackingStore?.Get("delegatedUserEmail"); } - set { BackingStore?.Set("delegatedUserEmail", value); } - } -#nullable restore -#else - public string DelegatedUserEmail - { - get { return BackingStore?.Get("delegatedUserEmail"); } - set { BackingStore?.Set("delegatedUserEmail", value); } - } -#endif - /// The locale property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Locale - { - get { return BackingStore?.Get("locale"); } - set { BackingStore?.Set("locale", value); } - } -#nullable restore -#else - public string Locale - { - get { return BackingStore?.Get("locale"); } - set { BackingStore?.Set("locale", value); } - } -#endif - /// The protectedContents property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ProtectedContents - { - get { return BackingStore?.Get?>("protectedContents"); } - set { BackingStore?.Set("protectedContents", value); } - } -#nullable restore -#else - public List ProtectedContents - { - get { return BackingStore?.Get>("protectedContents"); } - set { BackingStore?.Set("protectedContents", value); } - } -#endif - /// The supportedContentFormats property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? SupportedContentFormats - { - get { return BackingStore?.Get?>("supportedContentFormats"); } - set { BackingStore?.Set("supportedContentFormats", value); } - } -#nullable restore -#else - public List SupportedContentFormats - { - get { return BackingStore?.Get>("supportedContentFormats"); } - set { BackingStore?.Set("supportedContentFormats", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ComputeRightsAndInheritancePostRequestBody() - { - 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.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, - { "locale", n => { Locale = n.GetStringValue(); } }, - { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, - { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); - writer.WriteStringValue("locale", Locale); - writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); - writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs deleted file mode 100644 index 7f0976a44da..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance -{ - /// - /// Provides operations to call the computeRightsAndInheritance method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", 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 ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", rawUrl) - { - } - /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. - /// 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 PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. - /// - /// 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.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(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 ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilder.cs deleted file mode 100644 index 63695f4c7ab..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.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/dataSecurityAndGovernance/sensitivityLabels/$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/dataSecurityAndGovernance/sensitivityLabels/$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.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.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.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/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs deleted file mode 100644 index c164ed874ce..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights -{ - /// - /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RightsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%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 RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get rights 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get rights 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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get rights from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RightsRequestBuilderGetQueryParameters - { - /// 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 RightsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs deleted file mode 100644 index 8f04074a0e2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights; -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item -{ - /// - /// Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder(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 SensitivityLabelItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%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 SensitivityLabelItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sensitivityLabels 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get sensitivityLabels 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sensitivityLabels 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.Models.SensitivityLabel body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.SensitivityLabel body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sensitivityLabels 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 sensitivityLabels 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 sensitivityLabels 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.Models.SensitivityLabel body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SensitivityLabel body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder(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 SensitivityLabelItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get sensitivityLabels from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SensitivityLabelItemRequestBuilderGetQueryParameters - { - /// 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 SensitivityLabelItemRequestBuilderGetRequestConfiguration : 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 SensitivityLabelItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs deleted file mode 100644 index 84142c2f375..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs +++ /dev/null @@ -1,105 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats -{ - /// - /// Provides operations to call the computeInheritance method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Usage: contentFormats={contentFormats} - /// Usage: labelIds={labelIds} - /// Usage: locale='{locale}' - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) - { - if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); - if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); - if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); - } - /// - /// 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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) - { - } - /// - /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. - /// - /// 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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs deleted file mode 100644 index ac20c16e90b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs +++ /dev/null @@ -1,136 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ComputeRightsAndInheritancePostRequestBody : 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 delegatedUserEmail property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DelegatedUserEmail - { - get { return BackingStore?.Get("delegatedUserEmail"); } - set { BackingStore?.Set("delegatedUserEmail", value); } - } -#nullable restore -#else - public string DelegatedUserEmail - { - get { return BackingStore?.Get("delegatedUserEmail"); } - set { BackingStore?.Set("delegatedUserEmail", value); } - } -#endif - /// The locale property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Locale - { - get { return BackingStore?.Get("locale"); } - set { BackingStore?.Set("locale", value); } - } -#nullable restore -#else - public string Locale - { - get { return BackingStore?.Get("locale"); } - set { BackingStore?.Set("locale", value); } - } -#endif - /// The protectedContents property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ProtectedContents - { - get { return BackingStore?.Get?>("protectedContents"); } - set { BackingStore?.Set("protectedContents", value); } - } -#nullable restore -#else - public List ProtectedContents - { - get { return BackingStore?.Get>("protectedContents"); } - set { BackingStore?.Set("protectedContents", value); } - } -#endif - /// The supportedContentFormats property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? SupportedContentFormats - { - get { return BackingStore?.Get?>("supportedContentFormats"); } - set { BackingStore?.Set("supportedContentFormats", value); } - } -#nullable restore -#else - public List SupportedContentFormats - { - get { return BackingStore?.Get>("supportedContentFormats"); } - set { BackingStore?.Set("supportedContentFormats", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ComputeRightsAndInheritancePostRequestBody() - { - 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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, - { "locale", n => { Locale = n.GetStringValue(); } }, - { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, - { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); - writer.WriteStringValue("locale", Locale); - writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); - writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs deleted file mode 100644 index 2521514d09c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance -{ - /// - /// Provides operations to call the computeRightsAndInheritance method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", 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 ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) - { - } - /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. - /// 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 PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. - /// - /// 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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(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 ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilder.cs deleted file mode 100644 index 0e879c0ef2a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.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/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/$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/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/$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.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.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/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs deleted file mode 100644 index 5aff263f845..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights -{ - /// - /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RightsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%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 RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get rights 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get rights 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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get rights from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RightsRequestBuilderGetQueryParameters - { - /// 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 RightsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs deleted file mode 100644 index 84a73152ca7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item -{ - /// - /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(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 SensitivityLabelItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}{?%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 SensitivityLabelItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sublabels 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get sublabels 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sublabels 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.Models.SensitivityLabel body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.SensitivityLabel body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sublabels 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 sublabels 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 sublabels 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.Models.SensitivityLabel body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SensitivityLabel body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder(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 SensitivityLabelItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get sublabels from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SensitivityLabelItemRequestBuilderGetQueryParameters - { - /// 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 SensitivityLabelItemRequestBuilderGetRequestConfiguration : 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 SensitivityLabelItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs deleted file mode 100644 index eb429991371..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ /dev/null @@ -1,259 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count; -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels -{ - /// - /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SublabelsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the computeRightsAndInheritance method. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. - /// The unique identifier of sensitivityLabel - /// A - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("sensitivityLabel%2Did1", position); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Provides operations to call the computeInheritance method. - /// - /// A - /// Usage: contentFormats={contentFormats} - /// Usage: labelIds={labelIds} - /// Usage: locale='{locale}' - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) - { - if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); - if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); - if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SublabelsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels{?%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 SublabelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get sublabels 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to sublabels 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.Models.SensitivityLabel body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.SensitivityLabel body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get sublabels 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 sublabels 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.Models.SensitivityLabel body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SensitivityLabel body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get sublabels from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SublabelsRequestBuilderGetQueryParameters - { - /// 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 SublabelsRequestBuilderGetRequestConfiguration : 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 SublabelsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs deleted file mode 100644 index 2b1fe3dd67b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ /dev/null @@ -1,259 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance; -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count; -using Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DataSecurityAndGovernance.SensitivityLabels -{ - /// - /// Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the computeRightsAndInheritance method. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. - /// The unique identifier of sensitivityLabel - /// A - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("sensitivityLabel%2Did", position); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Provides operations to call the computeInheritance method. - /// - /// A - /// Usage: contentFormats={contentFormats} - /// Usage: labelIds={labelIds} - /// Usage: locale='{locale}' - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) - { - if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); - if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); - if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SensitivityLabelsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels{?%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 SensitivityLabelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get sensitivityLabels 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to sensitivityLabels 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.Models.SensitivityLabel body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.SensitivityLabel body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get sensitivityLabels 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 sensitivityLabels 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.Models.SensitivityLabel body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SensitivityLabel body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.SensitivityLabelsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.SensitivityLabelsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get sensitivityLabels from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SensitivityLabelsRequestBuilderGetQueryParameters - { - /// 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 SensitivityLabelsRequestBuilderGetRequestConfiguration : 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 SensitivityLabelsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs deleted file mode 100644 index a09666baff4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DeviceManagementTroubleshootingEvents.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/deviceManagementTroubleshootingEvents/$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/deviceManagementTroubleshootingEvents/$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.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.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.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/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs deleted file mode 100644 index ff69c1a1c1f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count; -using Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DeviceManagementTroubleshootingEvents -{ - /// - /// Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceManagementTroubleshootingEventsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. - /// The unique identifier of deviceManagementTroubleshootingEvent - /// A - public global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("deviceManagementTroubleshootingEvent%2Did", position); - return new global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder(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 DeviceManagementTroubleshootingEventsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/deviceManagementTroubleshootingEvents{?%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 DeviceManagementTroubleshootingEventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/deviceManagementTroubleshootingEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The list of troubleshooting events for this user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to deviceManagementTroubleshootingEvents 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.Models.DeviceManagementTroubleshootingEvent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The list of troubleshooting events for this user. - /// - /// 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 deviceManagementTroubleshootingEvents 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.Models.DeviceManagementTroubleshootingEvent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The list of troubleshooting events for this user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceManagementTroubleshootingEventsRequestBuilderGetQueryParameters - { - /// 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 DeviceManagementTroubleshootingEventsRequestBuilderGetRequestConfiguration : 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 DeviceManagementTroubleshootingEventsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs deleted file mode 100644 index e5a28c2b729..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DeviceManagementTroubleshootingEvents.Item -{ - /// - /// Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceManagementTroubleshootingEventItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeviceManagementTroubleshootingEventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEvent%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 DeviceManagementTroubleshootingEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEvent%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property deviceManagementTroubleshootingEvents 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The list of troubleshooting events for this user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property deviceManagementTroubleshootingEvents 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.Models.DeviceManagementTroubleshootingEvent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property deviceManagementTroubleshootingEvents 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; - } - /// - /// The list of troubleshooting events for this user. - /// - /// 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 deviceManagementTroubleshootingEvents 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.Models.DeviceManagementTroubleshootingEvent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder(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 DeviceManagementTroubleshootingEventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The list of troubleshooting events for this user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceManagementTroubleshootingEventItemRequestBuilderGetQueryParameters - { - /// 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 DeviceManagementTroubleshootingEventItemRequestBuilderGetRequestConfiguration : 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 DeviceManagementTroubleshootingEventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/Count/CountRequestBuilder.cs deleted file mode 100644 index d498a93cdcd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DirectReports.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/directReports/$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/directReports/$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.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.Me.DirectReports.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DirectReports.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/DirectReports/DirectReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/DirectReportsRequestBuilder.cs deleted file mode 100644 index 37509e71884..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/DirectReportsRequestBuilder.cs +++ /dev/null @@ -1,196 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DirectReports.Count; -using Microsoft.Graph.Me.DirectReports.GraphOrgContact; -using Microsoft.Graph.Me.DirectReports.GraphUser; -using Microsoft.Graph.Me.DirectReports.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DirectReports -{ - /// - /// Provides operations to manage the directReports property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectReportsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to orgContact. - public global::Microsoft.Graph.Me.DirectReports.GraphOrgContact.GraphOrgContactRequestBuilder GraphOrgContact - { - get => new global::Microsoft.Graph.Me.DirectReports.GraphOrgContact.GraphOrgContactRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to user. - public global::Microsoft.Graph.Me.DirectReports.GraphUser.GraphUserRequestBuilder GraphUser - { - get => new global::Microsoft.Graph.Me.DirectReports.GraphUser.GraphUserRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the directReports property of the microsoft.graph.user entity. - /// The unique identifier of directoryObject - /// A - public global::Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("directoryObject%2Did", position); - return new global::Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder(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 DirectReportsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports{?%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 DirectReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a user's direct reports. Returns the users and contacts for whom this user is assigned as manager. This API doesn't support getting the direct report chain beyond the specified user's direct reports. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a user's direct reports. Returns the users and contacts for whom this user is assigned as manager. This API doesn't support getting the direct report chain beyond the specified user's direct reports. - /// - /// 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.Me.DirectReports.DirectReportsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DirectReports.DirectReportsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a user's direct reports. Returns the users and contacts for whom this user is assigned as manager. This API doesn't support getting the direct report chain beyond the specified user's direct reports. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectReportsRequestBuilderGetQueryParameters - { - /// 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 DirectReportsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs deleted file mode 100644 index 6e41f1e48a3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DirectReports.GraphOrgContact.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/directReports/graph.orgContact/$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/directReports/graph.orgContact/$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.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.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DirectReports.GraphOrgContact.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/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs deleted file mode 100644 index 3f71bec1807..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DirectReports.GraphOrgContact -{ - /// - /// Casts the previous resource to orgContact. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphOrgContactRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.DirectReports.GraphOrgContact.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 GraphOrgContactRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/graph.orgContact{?%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 GraphOrgContactRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/graph.orgContact{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection - /// - /// 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.Me.DirectReports.GraphOrgContact.GraphOrgContactRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DirectReports.GraphOrgContact.GraphOrgContactRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphOrgContactRequestBuilderGetQueryParameters - { - /// 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 GraphOrgContactRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/Count/CountRequestBuilder.cs deleted file mode 100644 index 243ade67c96..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.DirectReports.GraphUser.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/directReports/graph.user/$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/directReports/graph.user/$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.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.Me.DirectReports.GraphUser.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DirectReports.GraphUser.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/DirectReports/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/GraphUserRequestBuilder.cs deleted file mode 100644 index 9fee56de128..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/GraphUserRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DirectReports.GraphUser.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DirectReports.GraphUser -{ - /// - /// Casts the previous resource to user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphUserRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.DirectReports.GraphUser.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 GraphUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/graph.user{?%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 GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/graph.user{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection - /// - /// 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.Me.DirectReports.GraphUser.GraphUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DirectReports.GraphUser.GraphUserRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphUserRequestBuilderGetQueryParameters - { - /// 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 GraphUserRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs deleted file mode 100644 index 6ebbe92042b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs +++ /dev/null @@ -1,137 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact; -using Microsoft.Graph.Me.DirectReports.Item.GraphUser; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DirectReports.Item -{ - /// - /// Provides operations to manage the directReports property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder - { - /// Casts the previous resource to orgContact. - public global::Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.GraphOrgContactRequestBuilder GraphOrgContact - { - get => new global::Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.GraphOrgContactRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to user. - public global::Microsoft.Graph.Me.DirectReports.Item.GraphUser.GraphUserRequestBuilder GraphUser - { - get => new global::Microsoft.Graph.Me.DirectReports.Item.GraphUser.GraphUserRequestBuilder(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 DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs deleted file mode 100644 index fb7d087be9c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DirectReports.Item.GraphOrgContact -{ - /// - /// Casts the previous resource to orgContact. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphOrgContactRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphOrgContactRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/{directoryObject%2Did}/graph.orgContact{?%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 GraphOrgContactRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/{directoryObject%2Did}/graph.orgContact{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact - /// - /// 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.Me.DirectReports.Item.GraphOrgContact.GraphOrgContactRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.GraphOrgContactRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphOrgContactRequestBuilderGetQueryParameters - { - /// 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 GraphOrgContactRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs deleted file mode 100644 index 4e443613796..00000000000 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.DirectReports.Item.GraphUser -{ - /// - /// Casts the previous resource to user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/{directoryObject%2Did}/graph.user{?%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 GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/directReports/{directoryObject%2Did}/graph.user{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user - /// - /// 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.Me.DirectReports.Item.GraphUser.GraphUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.DirectReports.Item.GraphUser.GraphUserRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphUserRequestBuilderGetQueryParameters - { - /// 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 GraphUserRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Drive/DriveRequestBuilder.cs deleted file mode 100644 index 45dbd47ed7c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Drive/DriveRequestBuilder.cs +++ /dev/null @@ -1,126 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Drive -{ - /// - /// Provides operations to manage the drive property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DriveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DriveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/drive{?%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 DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/drive{?%24expand,%24select}", rawUrl) - { - } - /// - /// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. - /// - /// 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.Me.Drive.DriveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Drive.DriveRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DriveRequestBuilderGetQueryParameters - { - /// 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 DriveRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Drives/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Drives/Count/CountRequestBuilder.cs deleted file mode 100644 index c179d6384fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Drives/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Drives.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/drives/$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/drives/$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.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.Me.Drives.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Drives.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/Drives/DrivesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Drives/DrivesRequestBuilder.cs deleted file mode 100644 index b5a33e2bf8a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Drives/DrivesRequestBuilder.cs +++ /dev/null @@ -1,184 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Drives.Count; -using Microsoft.Graph.Me.Drives.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Drives -{ - /// - /// Provides operations to manage the drives property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DrivesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Drives.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Drives.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the drives property of the microsoft.graph.user entity. - /// The unique identifier of drive - /// A - public global::Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("drive%2Did", position); - return new global::Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder(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 DrivesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/drives{?%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 DrivesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/drives{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve the list of Drive resources available for a target User, Group, or Site. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the list of Drive resources available for a target User, Group, or Site. - /// - /// 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.Me.Drives.DrivesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Drives.DrivesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve the list of Drive resources available for a target User, Group, or Site. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DrivesRequestBuilderGetQueryParameters - { - /// 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 DrivesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Drives/Item/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Drives/Item/DriveItemRequestBuilder.cs deleted file mode 100644 index 3abb8134111..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Drives/Item/DriveItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Drives.Item -{ - /// - /// Provides operations to manage the drives property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DriveItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DriveItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/drives/{drive%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 DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/drives/{drive%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// A collection of drives available for this user. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of drives available for this user. Read-only. - /// - /// 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.Me.Drives.Item.DriveItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of drives available for this user. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DriveItemRequestBuilderGetQueryParameters - { - /// 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 DriveItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs deleted file mode 100644 index 3514ff10b47..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count; -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles -{ - /// - /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssignedRolesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. - /// The unique identifier of engagementRole - /// A - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("engagementRole%2Did", position); - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder(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 AssignedRolesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles{?%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 AssignedRolesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of all the roles assigned to a user in Viva Engage. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to assignedRoles 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.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.EngagementRole body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of all the roles assigned to a user in Viva Engage. - /// - /// 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 assignedRoles 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.Models.EngagementRole body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.EngagementRole body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of all the roles assigned to a user in Viva Engage. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssignedRolesRequestBuilderGetQueryParameters - { - /// 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 AssignedRolesRequestBuilderGetRequestConfiguration : 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 AssignedRolesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs deleted file mode 100644 index 7b609b8660c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles.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/employeeExperience/assignedRoles/$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/employeeExperience/assignedRoles/$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.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.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.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/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs deleted file mode 100644 index 8cbc327aed0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles.Item -{ - /// - /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EngagementRoleItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder Members - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder(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 EngagementRoleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%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 EngagementRoleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property assignedRoles 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the collection of Viva Engage roles assigned to a user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property assignedRoles 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.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.EngagementRole body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property assignedRoles for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents the collection of Viva Engage roles assigned to a user. - /// - /// 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 assignedRoles 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.Models.EngagementRole body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.EngagementRole body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder(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 EngagementRoleItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents the collection of Viva Engage roles assigned to a user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EngagementRoleItemRequestBuilderGetQueryParameters - { - /// 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 EngagementRoleItemRequestBuilderGetRequestConfiguration : 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 EngagementRoleItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs deleted file mode 100644 index 190057ff77c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles.Item.Members.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/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$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/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$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.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.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.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/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs deleted file mode 100644 index df9266afcfe..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles.Item.Members.Item -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EngagementRoleMemberItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder User - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder(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 EngagementRoleMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%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 EngagementRoleMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property members 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Users that have this role assigned. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property members 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.Models.EngagementRoleMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.EngagementRoleMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property members 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; - } - /// - /// Users that have this role assigned. - /// - /// 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 members 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.Models.EngagementRoleMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.EngagementRoleMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder(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 EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Users that have this role assigned. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EngagementRoleMemberItemRequestBuilderGetQueryParameters - { - /// 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 EngagementRoleMemberItemRequestBuilderGetRequestConfiguration : 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 EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs deleted file mode 100644 index ec2956b4c09..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ /dev/null @@ -1,180 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings -{ - /// - /// Builds and executes requests for operations under \me\employeeExperience\assignedRoles\{engagementRole-id}\members\{engagementRoleMember-id}\user\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/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/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/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/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. Requires $select to retrieve. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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. Requires $select to retrieve. - /// - /// 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.Models.MailboxSettings body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.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. Requires $select to retrieve. - /// - [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/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs deleted file mode 100644 index 9c4f4b45e8e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.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/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/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/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/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.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.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.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/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs deleted file mode 100644 index 74070f6ac38..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors -{ - /// - /// Builds and executes requests for operations under \me\employeeExperience\assignedRoles\{engagementRole-id}\members\{engagementRoleMember-id}\user\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.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.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/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/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/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/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. Supports $filter (eq, not, for isResolved and serviceInstance). - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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. Supports $filter (eq, not, for isResolved and serviceInstance). - /// - /// 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.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.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. Supports $filter (eq, not, for isResolved and serviceInstance). - /// - [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/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs deleted file mode 100644 index 0d90160613f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs +++ /dev/null @@ -1,137 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings; -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User -{ - /// - /// Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserRequestBuilder : BaseRequestBuilder - { - /// The mailboxSettings property - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); - } - /// The serviceProvisioningErrors property - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.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 UserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%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 UserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", rawUrl) - { - } - /// - /// The user who has this role assigned. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The user who has this role assigned. - /// - /// 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.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The user who has this role assigned. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserRequestBuilderGetQueryParameters - { - /// 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 UserRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs deleted file mode 100644 index 8d3d0f14201..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count; -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.AssignedRoles.Item.Members -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. - /// The unique identifier of engagementRoleMember - /// A - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("engagementRoleMember%2Did", position); - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder(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 MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%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 MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Users that have this role assigned. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRoleMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to members 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.Models.EngagementRoleMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.EngagementRoleMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Users that have this role assigned. - /// - /// 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 members 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.Models.EngagementRoleMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.EngagementRoleMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Users that have this role assigned. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilderGetQueryParameters - { - /// 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 MembersRequestBuilderGetRequestConfiguration : 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 MembersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs deleted file mode 100644 index ca0da4ccbde..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ /dev/null @@ -1,252 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.EmployeeExperience.AssignedRoles; -using Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities; -using Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience -{ - /// - /// Provides operations to manage the employeeExperience property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EmployeeExperienceRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. - public global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder AssignedRoles - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. - public global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder LearningCourseActivities - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder(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 EmployeeExperienceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience{?%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 EmployeeExperienceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property employeeExperience 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get employeeExperience 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. - /// - /// A - /// Alternate key of learningCourseActivity - public global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder LearningCourseActivitiesWithExternalcourseActivityId(string externalcourseActivityId) - { - if(string.IsNullOrEmpty(externalcourseActivityId)) throw new ArgumentNullException(nameof(externalcourseActivityId)); - return new global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder(PathParameters, RequestAdapter, externalcourseActivityId); - } - /// - /// Update the navigation property employeeExperience 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.Models.EmployeeExperienceUser body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.EmployeeExperienceUser body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property employeeExperience 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 employeeExperience 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 employeeExperience 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.Models.EmployeeExperienceUser body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.EmployeeExperienceUser body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.EmployeeExperience.EmployeeExperienceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.EmployeeExperienceRequestBuilder(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 EmployeeExperienceRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get employeeExperience from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EmployeeExperienceRequestBuilderGetQueryParameters - { - /// 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 EmployeeExperienceRequestBuilderGetRequestConfiguration : 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 EmployeeExperienceRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs deleted file mode 100644 index 895a1528d0d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.EmployeeExperience.LearningCourseActivities.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/employeeExperience/learningCourseActivities/$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/employeeExperience/learningCourseActivities/$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.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.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.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/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs deleted file mode 100644 index 3a6fd9b8816..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.LearningCourseActivities.Item -{ - /// - /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LearningCourseActivityItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LearningCourseActivityItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/learningCourseActivities/{learningCourseActivity%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 LearningCourseActivityItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/learningCourseActivities/{learningCourseActivity%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get learningCourseActivities 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get learningCourseActivities 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.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get learningCourseActivities from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LearningCourseActivityItemRequestBuilderGetQueryParameters - { - /// 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 LearningCourseActivityItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs deleted file mode 100644 index 002fb2c6ff8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count; -using Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.LearningCourseActivities -{ - /// - /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LearningCourseActivitiesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. - /// The unique identifier of learningCourseActivity - /// A - public global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("learningCourseActivity%2Did", position); - return new global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder(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 LearningCourseActivitiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/learningCourseActivities{?%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 LearningCourseActivitiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/learningCourseActivities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get learningCourseActivities 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LearningCourseActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get learningCourseActivities 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.Me.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get learningCourseActivities from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LearningCourseActivitiesRequestBuilderGetQueryParameters - { - /// 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 LearningCourseActivitiesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs deleted file mode 100644 index d296063a7a6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId -{ - /// - /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Alternate key of learningCourseActivity - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string externalcourseActivityId = "") : base(requestAdapter, "{+baseurl}/me/employeeExperience/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}'){?%24expand,%24select}", pathParameters) - { - if (!string.IsNullOrWhiteSpace(externalcourseActivityId)) PathParameters.Add("externalcourseActivityId", externalcourseActivityId); - } - /// - /// 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 LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}'){?%24expand,%24select}", rawUrl) - { - } - /// - /// Get learningCourseActivities 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get learningCourseActivities 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.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get learningCourseActivities from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters - { - /// 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 LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Count/CountRequestBuilder.cs deleted file mode 100644 index 445302b5660..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.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/events/$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/events/$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.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.Me.Events.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.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/Events/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaGetResponse.cs deleted file mode 100644 index f90c1d30613..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Events.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Events.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index f46f8e1f75c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Events.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Events.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.Events.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaResponse.cs deleted file mode 100644 index 10a00e4ee7c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Events.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Events.Delta.DeltaGetResponse, 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.Me.Events.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs deleted file mode 100644 index 56a5298452a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Events.Count; -using Microsoft.Graph.Me.Events.Delta; -using Microsoft.Graph.Me.Events.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Events -{ - /// - /// Provides operations to manage the events property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Events.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Events.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Events.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Events.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the events property of the microsoft.graph.user entity. - /// The unique identifier of event - /// A - public global::Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("event%2Did", position); - return new global::Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder(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 EventsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events{?%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 EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of event objects in the user's mailbox. The list contains singleinstance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources are supported: 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 - /// 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.Models.Event body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of event objects in the user's mailbox. The list contains singleinstance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: - /// - /// 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 one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources are supported: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. - /// - /// 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.Models.Event body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.EventsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.EventsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of event objects in the user's mailbox. The list contains singleinstance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventsRequestBuilderGetQueryParameters - { - /// 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 EventsRequestBuilderGetRequestConfiguration : 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 EventsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs deleted file mode 100644 index 502ac79285b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#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.Me.Events.Item.Accept -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AcceptPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public AcceptPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.Events.Item.Accept.AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Item.Accept.AcceptPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptRequestBuilder.cs deleted file mode 100644 index 28af411b3dd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Accept -{ - /// - /// Provides operations to call the accept method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AcceptRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AcceptRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/accept", 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 AcceptRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/accept", rawUrl) - { - } - /// - /// Accept the specified event in a user calendar. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.Accept.AcceptPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.Accept.AcceptPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Accept the specified event in a user calendar. - /// - /// 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.Me.Events.Item.Accept.AcceptPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Events.Item.Accept.AcceptPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.Accept.AcceptRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Accept.AcceptRequestBuilder(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 AcceptRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs deleted file mode 100644 index 37bf64b5317..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Events.Item.Attachments.Count; -using Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession; -using Microsoft.Graph.Me.Events.Item.Attachments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Events.Item.Attachments -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createUploadSession method. - public global::Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession - { - get => new global::Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// The unique identifier of attachment - /// A - public global::Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachment%2Did", position); - return new global::Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/attachments{?%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 AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of attachment objects attached to an event. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// 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 PostAsync(global::Microsoft.Graph.Models.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of attachment objects attached to an event. - /// - /// 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; - } - /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// - /// 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.Models.Attachment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of attachment objects attached to an event. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilderGetQueryParameters - { - /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Count/CountRequestBuilder.cs deleted file mode 100644 index 9bd24f7bfe0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Attachments.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/events/{event%2Did}/attachments/$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/events/{event%2Did}/attachments/$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.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.Me.Events.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Attachments.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/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs deleted file mode 100644 index f06b45d6d68..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Attachments.CreateUploadSession -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateUploadSessionPostRequestBody : 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 AttachmentItem property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.AttachmentItem? AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.AttachmentItem AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public CreateUploadSessionPostRequestBody() - { - 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.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(global::Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs deleted file mode 100644 index 8ec5ec58a80..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Events.Item.Attachments.CreateUploadSession -{ - /// - /// Provides operations to call the createUploadSession method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/attachments/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/attachments/createUploadSession", rawUrl) - { - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// 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 PostAsync(global::Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// - /// 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.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs deleted file mode 100644 index 4dbcab4cbd3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ /dev/null @@ -1,175 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Events.Item.Attachments.Item -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttachmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/attachments/{attachment%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 AttachmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete an attachment from a user calendar event, mail message, note, or group post. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete an attachment from a user calendar event, mail message, note, or group post. - /// - /// 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; - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - /// 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.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Calendar/CalendarRequestBuilder.cs deleted file mode 100644 index bb24aaf7975..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Calendar/CalendarRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Events.Item.Calendar -{ - /// - /// Provides operations to manage the calendar property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CalendarRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/calendar{?%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 CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/calendar{?%24expand,%24select}", rawUrl) - { - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - /// 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.Me.Events.Item.Calendar.CalendarRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Calendar.CalendarRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The calendar that contains the event. Navigation property. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CalendarRequestBuilderGetQueryParameters - { - /// 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 CalendarRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelPostRequestBody.cs deleted file mode 100644 index 2273b311584..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Events.Item.Cancel -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CancelPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CancelPostRequestBody() - { - 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.Me.Events.Item.Cancel.CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Item.Cancel.CancelPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelRequestBuilder.cs deleted file mode 100644 index 542e92fa8b9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Cancel -{ - /// - /// Provides operations to call the cancel method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CancelRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CancelRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/cancel", 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 CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/cancel", rawUrl) - { - } - /// - /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.Cancel.CancelPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.Cancel.CancelPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. - /// - /// 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.Me.Events.Item.Cancel.CancelPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Events.Item.Cancel.CancelPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.Cancel.CancelRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Cancel.CancelRequestBuilder(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 CancelRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs deleted file mode 100644 index 89ffb3642ef..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Decline -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeclinePostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ProposedNewTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TimeSlot? ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TimeSlot ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public DeclinePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.Events.Item.Decline.DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Item.Decline.DeclinePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(global::Microsoft.Graph.Models.TimeSlot.CreateFromDiscriminatorValue); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclineRequestBuilder.cs deleted file mode 100644 index f900eed21e6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclineRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Decline -{ - /// - /// Provides operations to call the decline method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeclineRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeclineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/decline", 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 DeclineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/decline", rawUrl) - { - } - /// - /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.Decline.DeclinePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.Decline.DeclinePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// - /// 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.Me.Events.Item.Decline.DeclinePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Events.Item.Decline.DeclinePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.Decline.DeclineRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Decline.DeclineRequestBuilder(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 DeclineRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs deleted file mode 100644 index 7d062319836..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.DismissReminder -{ - /// - /// Provides operations to call the dismissReminder method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DismissReminderRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DismissReminderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/dismissReminder", 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 DismissReminderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/dismissReminder", rawUrl) - { - } - /// - /// Dismiss a reminder that has been triggered for an event in a user calendar. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Dismiss a reminder that has been triggered for an event in a user calendar. - /// - /// 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.Me.Events.Item.DismissReminder.DismissReminderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.DismissReminder.DismissReminderRequestBuilder(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 DismissReminderRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/EventItemRequestBuilder.cs deleted file mode 100644 index 8652d156069..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/EventItemRequestBuilder.cs +++ /dev/null @@ -1,304 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Events.Item.Accept; -using Microsoft.Graph.Me.Events.Item.Attachments; -using Microsoft.Graph.Me.Events.Item.Calendar; -using Microsoft.Graph.Me.Events.Item.Cancel; -using Microsoft.Graph.Me.Events.Item.Decline; -using Microsoft.Graph.Me.Events.Item.DismissReminder; -using Microsoft.Graph.Me.Events.Item.Extensions; -using Microsoft.Graph.Me.Events.Item.Forward; -using Microsoft.Graph.Me.Events.Item.Instances; -using Microsoft.Graph.Me.Events.Item.PermanentDelete; -using Microsoft.Graph.Me.Events.Item.SnoozeReminder; -using Microsoft.Graph.Me.Events.Item.TentativelyAccept; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Events.Item -{ - /// - /// Provides operations to manage the events property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the accept method. - public global::Microsoft.Graph.Me.Events.Item.Accept.AcceptRequestBuilder Accept - { - get => new global::Microsoft.Graph.Me.Events.Item.Accept.AcceptRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Events.Item.Attachments.AttachmentsRequestBuilder Attachments - { - get => new global::Microsoft.Graph.Me.Events.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendar property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Events.Item.Calendar.CalendarRequestBuilder Calendar - { - get => new global::Microsoft.Graph.Me.Events.Item.Calendar.CalendarRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the cancel method. - public global::Microsoft.Graph.Me.Events.Item.Cancel.CancelRequestBuilder Cancel - { - get => new global::Microsoft.Graph.Me.Events.Item.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the decline method. - public global::Microsoft.Graph.Me.Events.Item.Decline.DeclineRequestBuilder Decline - { - get => new global::Microsoft.Graph.Me.Events.Item.Decline.DeclineRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the dismissReminder method. - public global::Microsoft.Graph.Me.Events.Item.DismissReminder.DismissReminderRequestBuilder DismissReminder - { - get => new global::Microsoft.Graph.Me.Events.Item.DismissReminder.DismissReminderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Events.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.Events.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the forward method. - public global::Microsoft.Graph.Me.Events.Item.Forward.ForwardRequestBuilder Forward - { - get => new global::Microsoft.Graph.Me.Events.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the instances property of the microsoft.graph.event entity. - public global::Microsoft.Graph.Me.Events.Item.Instances.InstancesRequestBuilder Instances - { - get => new global::Microsoft.Graph.Me.Events.Item.Instances.InstancesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the snoozeReminder method. - public global::Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder SnoozeReminder - { - get => new global::Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the tentativelyAccept method. - public global::Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder TentativelyAccept - { - get => new global::Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder(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 EventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%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 EventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of the event object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.Event body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. - /// - /// 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 the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. - /// - /// 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 properties of the event object. - /// - /// 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.Models.Event body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Event body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder(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 EventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EventItemRequestBuilderGetQueryParameters - { - /// 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 EventItemRequestBuilderGetRequestConfiguration : 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 EventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 4f10fd6e8aa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Extensions.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/events/{event%2Did}/extensions/$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/events/{event%2Did}/extensions/$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.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.Me.Events.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Extensions.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/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index 9c59f78e968..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Events.Item.Extensions.Count; -using Microsoft.Graph.Me.Events.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Events.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 3c029ff6467..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Events.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the event. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardPostRequestBody.cs deleted file mode 100644 index 4fc85a77f35..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Forward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ForwardPostRequestBody() - { - 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.Me.Events.Item.Forward.ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Item.Forward.ForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardRequestBuilder.cs deleted file mode 100644 index 5ebef11b7e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Forward -{ - /// - /// Provides operations to call the forward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/forward", 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 ForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/forward", rawUrl) - { - } - /// - /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Events.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Events.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.Forward.ForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Forward.ForwardRequestBuilder(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 ForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaGetResponse.cs deleted file mode 100644 index d93f30a4b55..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Events.Item.Instances.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Events.Item.Instances.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Event.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 06328bb8b5d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,209 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.Instances.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/instances/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/instances/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - /// 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.Me.Events.Item.Instances.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaResponse.cs deleted file mode 100644 index 8c0d242b029..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Events.Item.Instances.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaGetResponse, 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.Me.Events.Item.Instances.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/InstancesRequestBuilder.cs deleted file mode 100644 index 5fd972eabb9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/InstancesRequestBuilder.cs +++ /dev/null @@ -1,191 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Events.Item.Instances.Delta; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Events.Item.Instances -{ - /// - /// Provides operations to manage the instances property of the microsoft.graph.event entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaRequestBuilder(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 InstancesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%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 InstancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the instances (occurrences) of an event for a specified time range. If the event is a seriesMaster type, this API returns the occurrences and exceptions of the event in the specified time range. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the instances (occurrences) of an event for a specified time range. If the event is a seriesMaster type, this API returns the occurrences and exceptions of the event in the specified time range. - /// - /// 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.Me.Events.Item.Instances.InstancesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.Instances.InstancesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the instances (occurrences) of an event for a specified time range. If the event is a seriesMaster type, this API returns the occurrences and exceptions of the event in the specified time range. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("endDateTime")] - public string? EndDateTime { get; set; } -#nullable restore -#else - [QueryParameter("endDateTime")] - public string EndDateTime { get; set; } -#endif - /// 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; } - /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("startDateTime")] - public string? StartDateTime { get; set; } -#nullable restore -#else - [QueryParameter("startDateTime")] - public string StartDateTime { get; set; } -#endif - /// 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 InstancesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index 8387e53ad0d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs deleted file mode 100644 index 7c20c2c44dc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.SnoozeReminder -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SnoozeReminderPostRequestBody : 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 NewReminderTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.DateTimeTimeZone? NewReminderTime - { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.DateTimeTimeZone NewReminderTime - { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SnoozeReminderPostRequestBody() - { - 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.Me.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs deleted file mode 100644 index 408536df2de..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.SnoozeReminder -{ - /// - /// Provides operations to call the snoozeReminder method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SnoozeReminderRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SnoozeReminderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/snoozeReminder", 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 SnoozeReminderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/snoozeReminder", rawUrl) - { - } - /// - /// Postpone a reminder for an event in a user calendar until a new time. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Postpone a reminder for an event in a user calendar until a new time. - /// - /// 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.Me.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder(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 SnoozeReminderRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs deleted file mode 100644 index 6defa67291c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.TentativelyAccept -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TentativelyAcceptPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The ProposedNewTime property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TimeSlot? ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TimeSlot ProposedNewTime - { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } - } -#endif - /// The SendResponse property - public bool? SendResponse - { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public TentativelyAcceptPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SendResponse = false; - } - /// - /// 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.Me.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(global::Microsoft.Graph.Models.TimeSlot.CreateFromDiscriminatorValue); } }, - { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs deleted file mode 100644 index faed0a4bc68..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Events.Item.TentativelyAccept -{ - /// - /// Provides operations to call the tentativelyAccept method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TentativelyAcceptRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TentativelyAcceptRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/tentativelyAccept", 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 TentativelyAcceptRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/events/{event%2Did}/tentativelyAccept", rawUrl) - { - } - /// - /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. - /// - /// 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.Me.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder(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 TentativelyAcceptRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs deleted file mode 100644 index 7f1c1b2d28f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs +++ /dev/null @@ -1,98 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ExportDeviceAndAppManagementData -{ - /// - /// Provides operations to call the exportDeviceAndAppManagementData method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExportDeviceAndAppManagementDataRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExportDeviceAndAppManagementDataRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/exportDeviceAndAppManagementData()", 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 ExportDeviceAndAppManagementDataRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/exportDeviceAndAppManagementData()", rawUrl) - { - } - /// - /// Invoke function exportDeviceAndAppManagementData - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function exportDeviceAndAppManagementData - /// - /// 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.Me.ExportDeviceAndAppManagementData.ExportDeviceAndAppManagementDataRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ExportDeviceAndAppManagementData.ExportDeviceAndAppManagementDataRequestBuilder(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 ExportDeviceAndAppManagementDataRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs deleted file mode 100644 index 35eea8d7f40..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ExportDeviceAndAppManagementDataWithSkipWithTop -{ - /// - /// Provides operations to call the exportDeviceAndAppManagementData method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - /// Usage: skip={skip} - /// Usage: top={top} - public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, int? skip = default, int? top = default) : base(requestAdapter, "{+baseurl}/me/exportDeviceAndAppManagementData(skip={skip},top={top})", pathParameters) - { - if (skip != null) PathParameters.Add("skip", skip); - if (top != null) PathParameters.Add("top", top); - } - /// - /// 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 ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/exportDeviceAndAppManagementData(skip={skip},top={top})", rawUrl) - { - } - /// - /// Invoke function exportDeviceAndAppManagementData - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function exportDeviceAndAppManagementData - /// - /// 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.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(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 ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataPostRequestBody.cs deleted file mode 100644 index 07bb09588ae..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.ExportPersonalData -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ExportPersonalDataPostRequestBody : 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 storageLocation property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? StorageLocation - { - get { return BackingStore?.Get("storageLocation"); } - set { BackingStore?.Set("storageLocation", value); } - } -#nullable restore -#else - public string StorageLocation - { - get { return BackingStore?.Get("storageLocation"); } - set { BackingStore?.Set("storageLocation", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ExportPersonalDataPostRequestBody() - { - 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.Me.ExportPersonalData.ExportPersonalDataPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "storageLocation", n => { StorageLocation = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("storageLocation", StorageLocation); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataRequestBuilder.cs deleted file mode 100644 index d442dec4083..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ExportPersonalData -{ - /// - /// Provides operations to call the exportPersonalData method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExportPersonalDataRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExportPersonalDataRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/exportPersonalData", 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 ExportPersonalDataRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/exportPersonalData", rawUrl) - { - } - /// - /// Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more information about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more information about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. - /// - /// 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.Me.ExportPersonalData.ExportPersonalDataPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataRequestBuilder(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 ExportPersonalDataRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 9a256738a3b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Extensions.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/extensions/$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/extensions/$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.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.Me.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Extensions.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/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index a89d2f30a03..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Extensions.Count; -using Microsoft.Graph.Me.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.user entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 071dd29ee0f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs deleted file mode 100644 index e3a9a7145b6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs +++ /dev/null @@ -1,160 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.FindMeetingTimes -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class FindMeetingTimesPostRequestBody : 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 attendees property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Attendees - { - get { return BackingStore?.Get?>("attendees"); } - set { BackingStore?.Set("attendees", value); } - } -#nullable restore -#else - public List Attendees - { - get { return BackingStore?.Get>("attendees"); } - set { BackingStore?.Set("attendees", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The isOrganizerOptional property - public bool? IsOrganizerOptional - { - get { return BackingStore?.Get("isOrganizerOptional"); } - set { BackingStore?.Set("isOrganizerOptional", value); } - } - /// The locationConstraint property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.LocationConstraint? LocationConstraint - { - get { return BackingStore?.Get("locationConstraint"); } - set { BackingStore?.Set("locationConstraint", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.LocationConstraint LocationConstraint - { - get { return BackingStore?.Get("locationConstraint"); } - set { BackingStore?.Set("locationConstraint", value); } - } -#endif - /// The maxCandidates property - public int? MaxCandidates - { - get { return BackingStore?.Get("maxCandidates"); } - set { BackingStore?.Set("maxCandidates", value); } - } - /// The meetingDuration property - public TimeSpan? MeetingDuration - { - get { return BackingStore?.Get("meetingDuration"); } - set { BackingStore?.Set("meetingDuration", value); } - } - /// The minimumAttendeePercentage property - public double? MinimumAttendeePercentage - { - get { return BackingStore?.Get("minimumAttendeePercentage"); } - set { BackingStore?.Set("minimumAttendeePercentage", value); } - } - /// The returnSuggestionReasons property - public bool? ReturnSuggestionReasons - { - get { return BackingStore?.Get("returnSuggestionReasons"); } - set { BackingStore?.Set("returnSuggestionReasons", value); } - } - /// The timeConstraint property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TimeConstraint? TimeConstraint - { - get { return BackingStore?.Get("timeConstraint"); } - set { BackingStore?.Set("timeConstraint", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TimeConstraint TimeConstraint - { - get { return BackingStore?.Get("timeConstraint"); } - set { BackingStore?.Set("timeConstraint", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public FindMeetingTimesPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - IsOrganizerOptional = false; - ReturnSuggestionReasons = false; - } - /// - /// 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.Me.FindMeetingTimes.FindMeetingTimesPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "attendees", n => { Attendees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AttendeeBase.CreateFromDiscriminatorValue)?.AsList(); } }, - { "isOrganizerOptional", n => { IsOrganizerOptional = n.GetBoolValue(); } }, - { "locationConstraint", n => { LocationConstraint = n.GetObjectValue(global::Microsoft.Graph.Models.LocationConstraint.CreateFromDiscriminatorValue); } }, - { "maxCandidates", n => { MaxCandidates = n.GetIntValue(); } }, - { "meetingDuration", n => { MeetingDuration = n.GetTimeSpanValue(); } }, - { "minimumAttendeePercentage", n => { MinimumAttendeePercentage = n.GetDoubleValue(); } }, - { "returnSuggestionReasons", n => { ReturnSuggestionReasons = n.GetBoolValue(); } }, - { "timeConstraint", n => { TimeConstraint = n.GetObjectValue(global::Microsoft.Graph.Models.TimeConstraint.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("attendees", Attendees); - writer.WriteBoolValue("isOrganizerOptional", IsOrganizerOptional); - writer.WriteObjectValue("locationConstraint", LocationConstraint); - writer.WriteIntValue("maxCandidates", MaxCandidates); - writer.WriteTimeSpanValue("meetingDuration", MeetingDuration); - writer.WriteDoubleValue("minimumAttendeePercentage", MinimumAttendeePercentage); - writer.WriteBoolValue("returnSuggestionReasons", ReturnSuggestionReasons); - writer.WriteObjectValue("timeConstraint", TimeConstraint); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs deleted file mode 100644 index 28518768d99..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.FindMeetingTimes -{ - /// - /// Provides operations to call the findMeetingTimes method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class FindMeetingTimesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public FindMeetingTimesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/findMeetingTimes", 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 FindMeetingTimesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/findMeetingTimes", rawUrl) - { - } - /// - /// Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property.Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. - /// 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 PostAsync(global::Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MeetingTimeSuggestionsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property.Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. - /// - /// 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.Me.FindMeetingTimes.FindMeetingTimesPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesRequestBuilder(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 FindMeetingTimesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddPostRequestBody.cs deleted file mode 100644 index 289e90276b0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.FollowedSites.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 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 - /// - /// 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.Me.FollowedSites.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.FollowedSites.Add.AddPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("value", Value); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddPostResponse.cs deleted file mode 100644 index cbced1b033c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.FollowedSites.Add -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AddPostResponse : global::Microsoft.Graph.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.Me.FollowedSites.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.FollowedSites.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.Models.Site.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddRequestBuilder.cs deleted file mode 100644 index fbdfc791c3b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.FollowedSites.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}/me/followedSites/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}/me/followedSites/add", rawUrl) - { - } - /// - /// Follow a user's site or multiple sites. - /// 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.Me.FollowedSites.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.FollowedSites.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.FollowedSites.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Follow a user's site or multiple sites. - /// 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.Me.FollowedSites.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.FollowedSites.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.FollowedSites.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Follow a user's site or multiple sites. - /// - /// 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.Me.FollowedSites.Add.AddPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.FollowedSites.Add.AddPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.FollowedSites.Add.AddRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.FollowedSites.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/Me/FollowedSites/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddResponse.cs deleted file mode 100644 index 01c0099df72..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Add/AddResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.FollowedSites.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.Me.FollowedSites.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.Me.FollowedSites.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.FollowedSites.Add.AddResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Count/CountRequestBuilder.cs deleted file mode 100644 index d9b3ffd61fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.FollowedSites.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/followedSites/$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/followedSites/$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.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.Me.FollowedSites.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.FollowedSites.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/FollowedSites/FollowedSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/FollowedSitesRequestBuilder.cs deleted file mode 100644 index 94d3107375a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/FollowedSitesRequestBuilder.cs +++ /dev/null @@ -1,196 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.FollowedSites.Add; -using Microsoft.Graph.Me.FollowedSites.Count; -using Microsoft.Graph.Me.FollowedSites.Item; -using Microsoft.Graph.Me.FollowedSites.Remove; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.FollowedSites -{ - /// - /// Provides operations to manage the followedSites property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class FollowedSitesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the add method. - public global::Microsoft.Graph.Me.FollowedSites.Add.AddRequestBuilder Add - { - get => new global::Microsoft.Graph.Me.FollowedSites.Add.AddRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the remove method. - public global::Microsoft.Graph.Me.FollowedSites.Remove.RemoveRequestBuilder Remove - { - get => new global::Microsoft.Graph.Me.FollowedSites.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the followedSites property of the microsoft.graph.user entity. - /// The unique identifier of site - /// A - public global::Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("site%2Did", position); - return new global::Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder(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 FollowedSitesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/followedSites{?%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 FollowedSitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/followedSites{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// List the sites that have been followed by the signed in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List the sites that have been followed by the signed in user. - /// - /// 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.Me.FollowedSites.FollowedSitesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.FollowedSites.FollowedSitesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List the sites that have been followed by the signed in user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class FollowedSitesRequestBuilderGetQueryParameters - { - /// 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 FollowedSitesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Item/SiteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Item/SiteItemRequestBuilder.cs deleted file mode 100644 index f4594da0083..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Item/SiteItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.FollowedSites.Item -{ - /// - /// Provides operations to manage the followedSites property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SiteItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SiteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/followedSites/{site%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 SiteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/followedSites/{site%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get followedSites 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get followedSites 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.Me.FollowedSites.Item.SiteItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get followedSites from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SiteItemRequestBuilderGetQueryParameters - { - /// 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 SiteItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemovePostRequestBody.cs deleted file mode 100644 index baeac240443..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemovePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.FollowedSites.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 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 - /// - /// 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.Me.FollowedSites.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.FollowedSites.Remove.RemovePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("value", Value); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemovePostResponse.cs deleted file mode 100644 index b679515445a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemovePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.FollowedSites.Remove -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RemovePostResponse : global::Microsoft.Graph.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.Me.FollowedSites.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.FollowedSites.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.Models.Site.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemoveRequestBuilder.cs deleted file mode 100644 index ab91f5eea74..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemoveRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.FollowedSites.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}/me/followedSites/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}/me/followedSites/remove", rawUrl) - { - } - /// - /// Unfollow a user's site or multiple sites. - /// 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.Me.FollowedSites.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.FollowedSites.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.FollowedSites.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Unfollow a user's site or multiple sites. - /// 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.Me.FollowedSites.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.FollowedSites.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.FollowedSites.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Unfollow a user's site or multiple sites. - /// - /// 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.Me.FollowedSites.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.FollowedSites.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.FollowedSites.Remove.RemoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.FollowedSites.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/Me/FollowedSites/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemoveResponse.cs deleted file mode 100644 index d9313162566..00000000000 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Remove/RemoveResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.FollowedSites.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.Me.FollowedSites.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.Me.FollowedSites.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.FollowedSites.Remove.RemoveResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostRequestBody.cs deleted file mode 100644 index b6a990a84cd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.GetMailTips -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetMailTipsPostRequestBody : 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 EmailAddresses property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? EmailAddresses - { - get { return BackingStore?.Get?>("EmailAddresses"); } - set { BackingStore?.Set("EmailAddresses", value); } - } -#nullable restore -#else - public List EmailAddresses - { - get { return BackingStore?.Get>("EmailAddresses"); } - set { BackingStore?.Set("EmailAddresses", value); } - } -#endif - /// The MailTipsOptions property - public global::Microsoft.Graph.Models.MailTipsType? MailTipsOptions - { - get { return BackingStore?.Get("MailTipsOptions"); } - set { BackingStore?.Set("MailTipsOptions", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public GetMailTipsPostRequestBody() - { - 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.Me.GetMailTips.GetMailTipsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "EmailAddresses", n => { EmailAddresses = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "MailTipsOptions", n => { MailTipsOptions = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("EmailAddresses", EmailAddresses); - writer.WriteEnumValue("MailTipsOptions", MailTipsOptions); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostResponse.cs b/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostResponse.cs deleted file mode 100644 index 29b80bf9875..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.GetMailTips -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetMailTipsPostResponse : global::Microsoft.Graph.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.Me.GetMailTips.GetMailTipsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetMailTips.GetMailTipsPostResponse(); - } - /// - /// 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.Models.MailTips.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsRequestBuilder.cs deleted file mode 100644 index 61d91bca336..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.GetMailTips -{ - /// - /// Provides operations to call the getMailTips method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetMailTipsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetMailTipsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getMailTips", 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 GetMailTipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getMailTips", rawUrl) - { - } - /// - /// Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. - /// 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 PostAsGetMailTipsPostResponseAsync(global::Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsGetMailTipsPostResponseAsync(global::Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMailTips.GetMailTipsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. - /// 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 PostAsGetMailTipsPostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMailTips.GetMailTipsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. - /// - /// 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.Me.GetMailTips.GetMailTipsPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.GetMailTips.GetMailTipsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.GetMailTips.GetMailTipsRequestBuilder(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 GetMailTipsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsResponse.cs b/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsResponse.cs deleted file mode 100644 index 7bdf84437a7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.GetMailTips -{ - [Obsolete("This class is obsolete. Use GetMailTipsPostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetMailTipsResponse : global::Microsoft.Graph.Me.GetMailTips.GetMailTipsPostResponse, 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.Me.GetMailTips.GetMailTipsResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetMailTips.GetMailTipsResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesGetResponse.cs deleted file mode 100644 index bc9a4a7ddd4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetManagedAppDiagnosticStatusesGetResponse : global::Microsoft.Graph.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.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesGetResponse(); - } - /// - /// 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.Models.ManagedAppDiagnosticStatus.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs deleted file mode 100644 index 23a036fe8a9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs +++ /dev/null @@ -1,157 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.GetManagedAppDiagnosticStatuses -{ - /// - /// Provides operations to call the getManagedAppDiagnosticStatuses method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetManagedAppDiagnosticStatusesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetManagedAppDiagnosticStatusesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getManagedAppDiagnosticStatuses(){?%24count,%24filter,%24search,%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 GetManagedAppDiagnosticStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getManagedAppDiagnosticStatuses(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Gets diagnostics validation status for a given user. - /// - /// 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 GetAsGetManagedAppDiagnosticStatusesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetManagedAppDiagnosticStatusesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Gets diagnostics validation status for a given user. - /// - /// 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 GetAsGetManagedAppDiagnosticStatusesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Gets diagnostics validation status for a given user. - /// - /// 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.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Gets diagnostics validation status for a given user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetManagedAppDiagnosticStatusesRequestBuilderGetQueryParameters - { - /// 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 GetManagedAppDiagnosticStatusesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesResponse.cs b/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesResponse.cs deleted file mode 100644 index 1a9d7478216..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.GetManagedAppDiagnosticStatuses -{ - [Obsolete("This class is obsolete. Use GetManagedAppDiagnosticStatusesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetManagedAppDiagnosticStatusesResponse : global::Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesGetResponse, 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.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesGetResponse.cs deleted file mode 100644 index bbf84c8a6b2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.GetManagedAppPolicies -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetManagedAppPoliciesGetResponse : global::Microsoft.Graph.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.Me.GetManagedAppPolicies.GetManagedAppPoliciesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesGetResponse(); - } - /// - /// 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.Models.ManagedAppPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs deleted file mode 100644 index ed85a238fd2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.GetManagedAppPolicies -{ - /// - /// Provides operations to call the getManagedAppPolicies method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetManagedAppPoliciesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetManagedAppPoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getManagedAppPolicies(){?%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 GetManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getManagedAppPolicies(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Gets app restrictions for a given user. - /// - /// 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 GetAsGetManagedAppPoliciesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetManagedAppPoliciesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Gets app restrictions for a given user. - /// - /// 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 GetAsGetManagedAppPoliciesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Gets app restrictions for a given user. - /// - /// 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.Me.GetManagedAppPolicies.GetManagedAppPoliciesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Gets app restrictions for a given user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetManagedAppPoliciesRequestBuilderGetQueryParameters - { - /// 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 GetManagedAppPoliciesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesResponse.cs b/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesResponse.cs deleted file mode 100644 index b14ec5ea1b0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.GetManagedAppPolicies -{ - [Obsolete("This class is obsolete. Use GetManagedAppPoliciesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetManagedAppPoliciesResponse : global::Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesGetResponse, 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.Me.GetManagedAppPolicies.GetManagedAppPoliciesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresGetResponse.cs b/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresGetResponse.cs deleted file mode 100644 index 07cd6f2c1e4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.GetManagedDevicesWithAppFailures -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetManagedDevicesWithAppFailuresGetResponse : global::Microsoft.Graph.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.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresGetResponse(); - } - /// - /// 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.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfPrimitiveValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs deleted file mode 100644 index aaa784327df..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs +++ /dev/null @@ -1,157 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.GetManagedDevicesWithAppFailures -{ - /// - /// Provides operations to call the getManagedDevicesWithAppFailures method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetManagedDevicesWithAppFailuresRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetManagedDevicesWithAppFailuresRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getManagedDevicesWithAppFailures(){?%24count,%24filter,%24search,%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 GetManagedDevicesWithAppFailuresRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getManagedDevicesWithAppFailures(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieves the list of devices with failed apps - /// - /// 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 GetAsGetManagedDevicesWithAppFailuresGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetManagedDevicesWithAppFailuresGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieves the list of devices with failed apps - /// - /// 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 GetAsGetManagedDevicesWithAppFailuresGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieves the list of devices with failed apps - /// - /// 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.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieves the list of devices with failed apps - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetManagedDevicesWithAppFailuresRequestBuilderGetQueryParameters - { - /// 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 GetManagedDevicesWithAppFailuresRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresResponse.cs b/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresResponse.cs deleted file mode 100644 index 7368f97ae35..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.GetManagedDevicesWithAppFailures -{ - [Obsolete("This class is obsolete. Use GetManagedDevicesWithAppFailuresGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetManagedDevicesWithAppFailuresResponse : global::Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresGetResponse, 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.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs deleted file mode 100644 index fe81778118a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.GetMemberGroups -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetMemberGroupsPostRequestBody : 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 securityEnabledOnly property - public bool? SecurityEnabledOnly - { - get { return BackingStore?.Get("securityEnabledOnly"); } - set { BackingStore?.Set("securityEnabledOnly", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public GetMemberGroupsPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SecurityEnabledOnly = false; - } - /// - /// 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.Me.GetMemberGroups.GetMemberGroupsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("securityEnabledOnly", SecurityEnabledOnly); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostResponse.cs deleted file mode 100644 index b17ab4db8cd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.GetMemberGroups -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetMemberGroupsPostResponse : global::Microsoft.Graph.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.Me.GetMemberGroups.GetMemberGroupsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostResponse(); - } - /// - /// 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.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfPrimitiveValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsRequestBuilder.cs deleted file mode 100644 index f3b0674e416..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.GetMemberGroups -{ - /// - /// Provides operations to call the getMemberGroups method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetMemberGroupsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetMemberGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getMemberGroups", 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 GetMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getMemberGroups", rawUrl) - { - } - /// - /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. - /// 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 PostAsGetMemberGroupsPostResponseAsync(global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsGetMemberGroupsPostResponseAsync(global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. - /// 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 PostAsGetMemberGroupsPostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. - /// - /// 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.Me.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsRequestBuilder(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 GetMemberGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsResponse.cs b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsResponse.cs deleted file mode 100644 index 6362f0dbe7d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.GetMemberGroups -{ - [Obsolete("This class is obsolete. Use GetMemberGroupsPostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetMemberGroupsResponse : global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostResponse, 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.Me.GetMemberGroups.GetMemberGroupsResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs deleted file mode 100644 index b2eabf86277..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.GetMemberObjects -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetMemberObjectsPostRequestBody : 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 securityEnabledOnly property - public bool? SecurityEnabledOnly - { - get { return BackingStore?.Get("securityEnabledOnly"); } - set { BackingStore?.Set("securityEnabledOnly", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public GetMemberObjectsPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SecurityEnabledOnly = false; - } - /// - /// 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.Me.GetMemberObjects.GetMemberObjectsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("securityEnabledOnly", SecurityEnabledOnly); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostResponse.cs deleted file mode 100644 index a2d2c1c33fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.GetMemberObjects -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetMemberObjectsPostResponse : global::Microsoft.Graph.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.Me.GetMemberObjects.GetMemberObjectsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostResponse(); - } - /// - /// 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.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfPrimitiveValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs deleted file mode 100644 index 67aadfb3d60..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.GetMemberObjects -{ - /// - /// Provides operations to call the getMemberObjects method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetMemberObjectsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetMemberObjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getMemberObjects", 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 GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/getMemberObjects", rawUrl) - { - } - /// - /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. - /// 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 PostAsGetMemberObjectsPostResponseAsync(global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsGetMemberObjectsPostResponseAsync(global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. - /// 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 PostAsGetMemberObjectsPostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. - /// - /// 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.Me.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsRequestBuilder(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 GetMemberObjectsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsResponse.cs b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsResponse.cs deleted file mode 100644 index 467ac33d8e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.GetMemberObjects -{ - [Obsolete("This class is obsolete. Use GetMemberObjectsPostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetMemberObjectsResponse : global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostResponse, 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.Me.GetMemberObjects.GetMemberObjectsResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InferenceClassification/InferenceClassificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InferenceClassification/InferenceClassificationRequestBuilder.cs deleted file mode 100644 index 24aeaead91f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/InferenceClassification/InferenceClassificationRequestBuilder.cs +++ /dev/null @@ -1,186 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.InferenceClassification.Overrides; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.InferenceClassification -{ - /// - /// Provides operations to manage the inferenceClassification property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InferenceClassificationRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the overrides property of the microsoft.graph.inferenceClassification entity. - public global::Microsoft.Graph.Me.InferenceClassification.Overrides.OverridesRequestBuilder Overrides - { - get => new global::Microsoft.Graph.Me.InferenceClassification.Overrides.OverridesRequestBuilder(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 InferenceClassificationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/inferenceClassification{?%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 InferenceClassificationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/inferenceClassification{?%24expand,%24select}", rawUrl) - { - } - /// - /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property inferenceClassification 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.Models.InferenceClassification body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.InferenceClassification body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. - /// - /// 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 inferenceClassification 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.Models.InferenceClassification body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.InferenceClassification body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.InferenceClassification.InferenceClassificationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.InferenceClassification.InferenceClassificationRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InferenceClassificationRequestBuilderGetQueryParameters - { - /// 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 InferenceClassificationRequestBuilderGetRequestConfiguration : 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 InferenceClassificationRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Count/CountRequestBuilder.cs deleted file mode 100644 index 9d35bd147dc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.InferenceClassification.Overrides.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/inferenceClassification/overrides/$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/inferenceClassification/overrides/$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.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.Me.InferenceClassification.Overrides.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.InferenceClassification.Overrides.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/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs deleted file mode 100644 index ae6473370a0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs +++ /dev/null @@ -1,231 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.InferenceClassification.Overrides.Item -{ - /// - /// Provides operations to manage the overrides property of the microsoft.graph.inferenceClassification entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InferenceClassificationOverrideItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public InferenceClassificationOverrideItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/inferenceClassification/overrides/{inferenceClassificationOverride%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 InferenceClassificationOverrideItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/inferenceClassification/overrides/{inferenceClassificationOverride%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete an override specified by its ID. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Change the classifyAs field of an override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. - /// 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 PatchAsync(global::Microsoft.Graph.Models.InferenceClassificationOverride body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.InferenceClassificationOverride body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete an override specified by its ID. - /// - /// 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; - } - /// - /// A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. - /// - /// 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; - } - /// - /// Change the classifyAs field of an override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. - /// - /// 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.Models.InferenceClassificationOverride body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.InferenceClassificationOverride body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder(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 InferenceClassificationOverrideItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InferenceClassificationOverrideItemRequestBuilderGetQueryParameters - { - /// 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 InferenceClassificationOverrideItemRequestBuilderGetRequestConfiguration : 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 InferenceClassificationOverrideItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs deleted file mode 100644 index 8bcdde7c512..00000000000 --- a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.InferenceClassification.Overrides.Count; -using Microsoft.Graph.Me.InferenceClassification.Overrides.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.InferenceClassification.Overrides -{ - /// - /// Provides operations to manage the overrides property of the microsoft.graph.inferenceClassification entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OverridesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the overrides property of the microsoft.graph.inferenceClassification entity. - /// The unique identifier of inferenceClassificationOverride - /// A - public global::Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("inferenceClassificationOverride%2Did", position); - return new global::Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder(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 OverridesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/inferenceClassification/overrides{?%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 OverridesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/inferenceClassification/overrides{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user doesn't have any overrides. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.InferenceClassificationOverrideCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. Note - /// 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 PostAsync(global::Microsoft.Graph.Models.InferenceClassificationOverride body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.InferenceClassificationOverride body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user doesn't have any overrides. - /// - /// 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 an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. Note - /// - /// 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.Models.InferenceClassificationOverride body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.InferenceClassificationOverride body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.InferenceClassification.Overrides.OverridesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.InferenceClassification.Overrides.OverridesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user doesn't have any overrides. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OverridesRequestBuilderGetQueryParameters - { - /// 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 OverridesRequestBuilderGetRequestConfiguration : 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 OverridesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs deleted file mode 100644 index 47409ab5cb5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs +++ /dev/null @@ -1,249 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Insights.Shared; -using Microsoft.Graph.Me.Insights.Trending; -using Microsoft.Graph.Me.Insights.Used; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights -{ - /// - /// Provides operations to manage the insights property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InsightsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.SharedRequestBuilder Shared - { - get => new global::Microsoft.Graph.Me.Insights.Shared.SharedRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the trending property of the microsoft.graph.officeGraphInsights entity. - public global::Microsoft.Graph.Me.Insights.Trending.TrendingRequestBuilder Trending - { - get => new global::Microsoft.Graph.Me.Insights.Trending.TrendingRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Used.UsedRequestBuilder Used - { - get => new global::Microsoft.Graph.Me.Insights.Used.UsedRequestBuilder(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 InsightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights{?%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 InsightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property insights 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents relationships between a user and items such as OneDrive for work or school documents, calculated using advanced analytics and machine learning techniques. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ItemInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property insights 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.Models.ItemInsights body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ItemInsights body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ItemInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property insights for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents relationships between a user and items such as OneDrive for work or school documents, calculated using advanced analytics and machine learning techniques. Read-only. Nullable. - /// - /// 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 insights 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.Models.ItemInsights body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ItemInsights body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Insights.InsightsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.InsightsRequestBuilder(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 InsightsRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents relationships between a user and items such as OneDrive for work or school documents, calculated using advanced analytics and machine learning techniques. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InsightsRequestBuilderGetQueryParameters - { - /// 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 InsightsRequestBuilderGetRequestConfiguration : 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 InsightsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs deleted file mode 100644 index 8b418b4fb76..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Insights.Shared.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/insights/shared/$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/insights/shared/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Shared.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/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs deleted file mode 100644 index 5474bde204d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs +++ /dev/null @@ -1,128 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Shared.Item.LastSharedMethod -{ - /// - /// Provides operations to manage the lastSharedMethod property of the microsoft.graph.sharedInsight entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LastSharedMethodRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LastSharedMethodRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/shared/{sharedInsight%2Did}/lastSharedMethod{?%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 LastSharedMethodRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/shared/{sharedInsight%2Did}/lastSharedMethod{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get lastSharedMethod 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 - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get lastSharedMethod from me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get lastSharedMethod from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LastSharedMethodRequestBuilderGetQueryParameters - { - /// 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 LastSharedMethodRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs deleted file mode 100644 index e21d36c88f3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs +++ /dev/null @@ -1,128 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Shared.Item.Resource -{ - /// - /// Provides operations to manage the resource property of the microsoft.graph.sharedInsight entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResourceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/shared/{sharedInsight%2Did}/resource{?%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 ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/shared/{sharedInsight%2Did}/resource{?%24expand,%24select}", rawUrl) - { - } - /// - /// Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. - /// - /// 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 API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceRequestBuilderGetQueryParameters - { - /// 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 ResourceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs deleted file mode 100644 index b83e27fb7ee..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod; -using Microsoft.Graph.Me.Insights.Shared.Item.Resource; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Shared.Item -{ - /// - /// Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedInsightItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the lastSharedMethod property of the microsoft.graph.sharedInsight entity. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder LastSharedMethod - { - get => new global::Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the resource property of the microsoft.graph.sharedInsight entity. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder Resource - { - get => new global::Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder(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 SharedInsightItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/shared/{sharedInsight%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 SharedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/shared/{sharedInsight%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property shared 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 - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. - /// - /// 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 API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property shared 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 - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.SharedInsight body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property shared for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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; - } - /// - /// Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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 shared in me - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharedInsight body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder(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 SharedInsightItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedInsightItemRequestBuilderGetQueryParameters - { - /// 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 SharedInsightItemRequestBuilderGetRequestConfiguration : 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 SharedInsightItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs deleted file mode 100644 index 4aa01e51d3c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Insights.Shared.Count; -using Microsoft.Graph.Me.Insights.Shared.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Shared -{ - /// - /// Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. - /// The unique identifier of sharedInsight - /// A - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("sharedInsight%2Did", position); - return new global::Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder(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 SharedRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/shared{?%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 SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/shared{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to shared 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 - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.SharedInsight body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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 shared for me - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharedInsight body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Shared.SharedRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Shared.SharedRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedRequestBuilderGetQueryParameters - { - /// 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 SharedRequestBuilderGetRequestConfiguration : 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 SharedRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Trending/Count/CountRequestBuilder.cs deleted file mode 100644 index 12bcb3d60bf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Insights.Trending.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/insights/trending/$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/insights/trending/$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.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.Me.Insights.Trending.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Trending.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/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs deleted file mode 100644 index b6d2d53a102..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Trending.Item.Resource -{ - /// - /// Provides operations to manage the resource property of the microsoft.graph.trending entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResourceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/trending/{trending%2Did}/resource{?%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 ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/trending/{trending%2Did}/resource{?%24expand,%24select}", rawUrl) - { - } - /// - /// Used for navigating to the trending document. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Used for navigating to the trending document. - /// - /// 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.Me.Insights.Trending.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Trending.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Used for navigating to the trending document. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceRequestBuilderGetQueryParameters - { - /// 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 ResourceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/TrendingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/TrendingItemRequestBuilder.cs deleted file mode 100644 index af7362a47bf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/TrendingItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Insights.Trending.Item.Resource; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Trending.Item -{ - /// - /// Provides operations to manage the trending property of the microsoft.graph.officeGraphInsights entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TrendingItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the resource property of the microsoft.graph.trending entity. - public global::Microsoft.Graph.Me.Insights.Trending.Item.Resource.ResourceRequestBuilder Resource - { - get => new global::Microsoft.Graph.Me.Insights.Trending.Item.Resource.ResourceRequestBuilder(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 TrendingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/trending/{trending%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 TrendingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/trending/{trending%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property trending 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property trending 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.Models.Trending body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Trending body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property trending 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; - } - /// - /// Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. - /// - /// 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 trending 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.Models.Trending body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Trending body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder(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 TrendingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TrendingItemRequestBuilderGetQueryParameters - { - /// 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 TrendingItemRequestBuilderGetRequestConfiguration : 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 TrendingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Trending/TrendingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Trending/TrendingRequestBuilder.cs deleted file mode 100644 index 503c26398b6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Trending/TrendingRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Insights.Trending.Count; -using Microsoft.Graph.Me.Insights.Trending.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Trending -{ - /// - /// Provides operations to manage the trending property of the microsoft.graph.officeGraphInsights entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TrendingRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the trending property of the microsoft.graph.officeGraphInsights entity. - /// The unique identifier of trending - /// A - public global::Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("trending%2Did", position); - return new global::Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder(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 TrendingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/trending{?%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 TrendingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/trending{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Calculated insight that includes a list of documents trending around the user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TrendingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to trending 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.Models.Trending body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Trending body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Calculated insight that includes a list of documents trending around the user. - /// - /// 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 trending 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.Models.Trending body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Trending body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Insights.Trending.TrendingRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Trending.TrendingRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Calculated insight that includes a list of documents trending around the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TrendingRequestBuilderGetQueryParameters - { - /// 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 TrendingRequestBuilderGetRequestConfiguration : 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 TrendingRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs deleted file mode 100644 index cb9aa5fca50..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Insights.Used.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/insights/used/$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/insights/used/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Used.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/Insights/Used/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs deleted file mode 100644 index be12969a990..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs +++ /dev/null @@ -1,128 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Used.Item.Resource -{ - /// - /// Provides operations to manage the resource property of the microsoft.graph.usedInsight entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResourceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/used/{usedInsight%2Did}/resource{?%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 ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/used/{usedInsight%2Did}/resource{?%24expand,%24select}", rawUrl) - { - } - /// - /// Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. - /// - /// 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 API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceRequestBuilderGetQueryParameters - { - /// 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 ResourceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs deleted file mode 100644 index 9e2c8e5bb96..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs +++ /dev/null @@ -1,243 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Insights.Used.Item.Resource; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Used.Item -{ - /// - /// Provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsedInsightItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the resource property of the microsoft.graph.usedInsight entity. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder Resource - { - get => new global::Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder(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 UsedInsightItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/used/{usedInsight%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 UsedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/used/{usedInsight%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property used 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 - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. - /// - /// 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 API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property used 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 - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UsedInsight body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property used for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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; - } - /// - /// Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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 used in me - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UsedInsight body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder(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 UsedInsightItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsedInsightItemRequestBuilderGetQueryParameters - { - /// 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 UsedInsightItemRequestBuilderGetRequestConfiguration : 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 UsedInsightItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs deleted file mode 100644 index f796b81b8af..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Insights.Used.Count; -using Microsoft.Graph.Me.Insights.Used.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Insights.Used -{ - /// - /// Provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsedRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. - /// The unique identifier of usedInsight - /// A - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("usedInsight%2Did", position); - return new global::Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder(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 UsedRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/used{?%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 UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/insights/used{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UsedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to used 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 - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.UsedInsight body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#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 used for me - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.UsedInsight body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] - public global::Microsoft.Graph.Me.Insights.Used.UsedRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Insights.Used.UsedRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsedRequestBuilderGetQueryParameters - { - /// 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 UsedRequestBuilderGetRequestConfiguration : 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 UsedRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Count/CountRequestBuilder.cs deleted file mode 100644 index cde620a23ee..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.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/joinedTeams/$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/joinedTeams/$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.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.Me.JoinedTeams.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.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/JoinedTeams/GetAllMessages/GetAllMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesGetResponse.cs deleted file mode 100644 index c5561213725..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.GetAllMessages -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllMessagesGetResponse : global::Microsoft.Graph.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.Me.JoinedTeams.GetAllMessages.GetAllMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs deleted file mode 100644 index 452b0c4aada..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ /dev/null @@ -1,197 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.GetAllMessages -{ - /// - /// Provides operations to call the getAllMessages method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllMessagesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/getAllMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,model*}", 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 GetAllMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/getAllMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,model*}", rawUrl) - { - } - /// - /// Invoke function getAllMessages - /// - /// 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 GetAsGetAllMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllMessages - /// - /// 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 GetAsGetAllMessagesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllMessages - /// - /// 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.Me.JoinedTeams.GetAllMessages.GetAllMessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function getAllMessages - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllMessagesRequestBuilderGetQueryParameters - { - /// 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 - /// The payment model for the API -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("model")] - public string? Model { get; set; } -#nullable restore -#else - [QueryParameter("model")] - public string Model { 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 GetAllMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesResponse.cs deleted file mode 100644 index 2a226d17ce5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.GetAllMessages -{ - [Obsolete("This class is obsolete. Use GetAllMessagesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllMessagesResponse : global::Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesGetResponse, 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.Me.JoinedTeams.GetAllMessages.GetAllMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs deleted file mode 100644 index 8b614edc449..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.AllChannels -{ - /// - /// Provides operations to manage the allChannels property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllChannelsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the allChannels property of the microsoft.graph.team entity. - /// The unique identifier of channel - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("channel%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder(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 AllChannelsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/allChannels{?%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 AllChannelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/allChannels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// List of channels either hosted in or shared with the team (incoming channels). - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List of channels either hosted in or shared with the team (incoming channels). - /// - /// 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.Me.JoinedTeams.Item.AllChannels.AllChannelsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.AllChannelsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List of channels either hosted in or shared with the team (incoming channels). - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllChannelsRequestBuilderGetQueryParameters - { - /// 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 AllChannelsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs deleted file mode 100644 index f51bb21779c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.AllChannels.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/joinedTeams/{team%2Did}/allChannels/$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/joinedTeams/{team%2Did}/allChannels/$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.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.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.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/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs deleted file mode 100644 index 07f86a5ebf5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.AllChannels.Item -{ - /// - /// Provides operations to manage the allChannels property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChannelItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ChannelItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/allChannels/{channel%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 ChannelItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/allChannels/{channel%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// List of channels either hosted in or shared with the team (incoming channels). - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List of channels either hosted in or shared with the team (incoming channels). - /// - /// 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.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List of channels either hosted in or shared with the team (incoming channels). - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChannelItemRequestBuilderGetQueryParameters - { - /// 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 ChannelItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs deleted file mode 100644 index c9ee4cd0468..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Archive -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ArchivePostRequestBody : 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 shouldSetSpoSiteReadOnlyForMembers property - public bool? ShouldSetSpoSiteReadOnlyForMembers - { - get { return BackingStore?.Get("shouldSetSpoSiteReadOnlyForMembers"); } - set { BackingStore?.Set("shouldSetSpoSiteReadOnlyForMembers", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public ArchivePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - ShouldSetSpoSiteReadOnlyForMembers = false; - } - /// - /// 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.Me.JoinedTeams.Item.Archive.ArchivePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchivePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "shouldSetSpoSiteReadOnlyForMembers", n => { ShouldSetSpoSiteReadOnlyForMembers = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("shouldSetSpoSiteReadOnlyForMembers", ShouldSetSpoSiteReadOnlyForMembers); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs deleted file mode 100644 index d78fef4b52b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Archive -{ - /// - /// Provides operations to call the archive method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ArchiveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ArchiveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/archive", 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 ArchiveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/archive", rawUrl) - { - } - /// - /// Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team are still allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which might occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchivePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchivePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team are still allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which might occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. - /// - /// 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.Me.JoinedTeams.Item.Archive.ArchivePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchivePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchiveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchiveRequestBuilder(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 ArchiveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs deleted file mode 100644 index 78234e5c1c4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels -{ - /// - /// Provides operations to manage the channels property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChannelsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllMessages method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesRequestBuilder GetAllMessages - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllRetainedMessages method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder GetAllRetainedMessages - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the channels property of the microsoft.graph.team entity. - /// The unique identifier of channel - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("channel%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder(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 ChannelsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels{?%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 ChannelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of channels and messages associated with the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to channels 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.Models.Channel body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Channel body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of channels and messages associated with the team. - /// - /// 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 channels 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.Models.Channel body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Channel body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.ChannelsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.ChannelsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of channels and messages associated with the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChannelsRequestBuilderGetQueryParameters - { - /// 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 ChannelsRequestBuilderGetRequestConfiguration : 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 ChannelsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs deleted file mode 100644 index f2d333893c7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.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/joinedTeams/{team%2Did}/channels/$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/joinedTeams/{team%2Did}/channels/$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.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.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.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/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesGetResponse.cs deleted file mode 100644 index 5dd31e99038..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllMessagesGetResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs deleted file mode 100644 index f4cfee22564..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ /dev/null @@ -1,199 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.GetAllMessages -{ - /// - /// Provides operations to call the getAllMessages method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllMessagesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/getAllMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,model*}", 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 GetAllMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/getAllMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,model*}", rawUrl) - { - } - /// - /// Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllMessagesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - /// 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.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllMessagesRequestBuilderGetQueryParameters - { - /// 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 - /// The payment model for the API -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("model")] - public string? Model { get; set; } -#nullable restore -#else - [QueryParameter("model")] - public string Model { 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 GetAllMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesResponse.cs deleted file mode 100644 index 4e0416b26e8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.GetAllMessages -{ - [Obsolete("This class is obsolete. Use GetAllMessagesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllMessagesResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesGetResponse, 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.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.cs deleted file mode 100644 index 6345e366983..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRetainedMessagesGetResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.cs deleted file mode 100644 index 52837cc0986..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages -{ - /// - /// Provides operations to call the getAllRetainedMessages method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRetainedMessagesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllRetainedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/getAllRetainedMessages(){?%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 GetAllRetainedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllRetainedMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllRetainedMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - /// 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.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRetainedMessagesRequestBuilderGetQueryParameters - { - /// 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 GetAllRetainedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesResponse.cs deleted file mode 100644 index d7f5a912ffc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages -{ - [Obsolete("This class is obsolete. Use GetAllRetainedMessagesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRetainedMessagesResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse, 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.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs deleted file mode 100644 index a21e527f97d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs deleted file mode 100644 index f6f37e1cbc8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AddPostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs deleted file mode 100644 index cbd36454028..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.cs deleted file mode 100644 index 2c1c4dde52c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs deleted file mode 100644 index 19dbcfd6d44..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers -{ - /// - /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllMembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the add method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder Add - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the remove method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder Remove - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. - /// The unique identifier of conversationMember - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("conversationMember%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllMembersRequestBuilderGetQueryParameters - { - /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs deleted file mode 100644 index 2be95636875..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/$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.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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/JoinedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs deleted file mode 100644 index e3c6af9e869..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item -{ - /// - /// Provides operations to manage the allMembers 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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/{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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property allMembers 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property allMembers 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; - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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 - { - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - [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/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs deleted file mode 100644 index 2f53be4e8c0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs deleted file mode 100644 index 3555c85fda5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RemovePostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs deleted file mode 100644 index 4af34c1c21c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs deleted file mode 100644 index 06deb1ef59c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs deleted file mode 100644 index 317803e726e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.Archive -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ArchivePostRequestBody : 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 shouldSetSpoSiteReadOnlyForMembers property - public bool? ShouldSetSpoSiteReadOnlyForMembers - { - get { return BackingStore?.Get("shouldSetSpoSiteReadOnlyForMembers"); } - set { BackingStore?.Set("shouldSetSpoSiteReadOnlyForMembers", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public ArchivePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - ShouldSetSpoSiteReadOnlyForMembers = false; - } - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Archive.ArchivePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchivePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "shouldSetSpoSiteReadOnlyForMembers", n => { ShouldSetSpoSiteReadOnlyForMembers = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("shouldSetSpoSiteReadOnlyForMembers", ShouldSetSpoSiteReadOnlyForMembers); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.cs deleted file mode 100644 index 1f63bec42df..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Archive -{ - /// - /// Provides operations to call the archive method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ArchiveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ArchiveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/archive", 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 ArchiveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/archive", rawUrl) - { - } - /// - /// Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchivePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchivePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Archive.ArchivePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchivePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder(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 ArchiveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs deleted file mode 100644 index f06b0cac48e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ /dev/null @@ -1,313 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item -{ - /// - /// Provides operations to manage the channels property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChannelItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder AllMembers - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the archive method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder Archive - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the completeMigration method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder CompleteMigration - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the doesUserHaveAccess method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder EnabledApps - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder FilesFolder - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder Members - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder Messages - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the provisionEmail method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder ProvisionEmail - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the removeEmail method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder RemoveEmail - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder SharedWithTeams - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the startMigration method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder StartMigration - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.TabsRequestBuilder Tabs - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unarchive method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.UnarchiveRequestBuilder Unarchive - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.UnarchiveRequestBuilder(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 ChannelItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%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 ChannelItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property channels 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of channels and messages associated with the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property channels 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.Models.Channel body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Channel body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property channels 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; - } - /// - /// The collection of channels and messages associated with the team. - /// - /// 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 channels 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.Models.Channel body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Channel body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder(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 ChannelItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of channels and messages associated with the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChannelItemRequestBuilderGetQueryParameters - { - /// 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 ChannelItemRequestBuilderGetRequestConfiguration : 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 ChannelItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs deleted file mode 100644 index 3c7acf7d1fa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.CompleteMigration -{ - /// - /// Provides operations to call the completeMigration method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CompleteMigrationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CompleteMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/completeMigration", 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 CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/completeMigration", rawUrl) - { - } - /// - /// Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder(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 CompleteMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs deleted file mode 100644 index a882c9ab193..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse : 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 value property - public bool? Value - { - get { return BackingStore?.Get("value"); } - set { BackingStore?.Set("value", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - Value = false; - } - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "value", n => { Value = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("value", Value); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs deleted file mode 100644 index 596a1477732..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ /dev/null @@ -1,160 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName -{ - /// - /// Provides operations to call the doesUserHaveAccess method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/doesUserHaveAccess(userId='@userId',tenantId='@tenantId',userPrincipalName='@userPrincipalName'){?tenantId*,userId*,userPrincipalName*}", 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 DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/doesUserHaveAccess(userId='@userId',tenantId='@tenantId',userPrincipalName='@userPrincipalName'){?tenantId*,userId*,userPrincipalName*}", rawUrl) - { - } - /// - /// Determine whether a user has access to a channel. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Determine whether a user has access to a channel. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Determine whether a user has access to a channel. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Determine whether a user has access to a channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters - { - /// Usage: tenantId='@tenantId' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("tenantId")] - public string? TenantId { get; set; } -#nullable restore -#else - [QueryParameter("tenantId")] - public string TenantId { get; set; } -#endif - /// Usage: userId='@userId' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("userId")] - public string? UserId { get; set; } -#nullable restore -#else - [QueryParameter("userId")] - public string UserId { get; set; } -#endif - /// Usage: userPrincipalName='@userPrincipalName' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("userPrincipalName")] - public string? UserPrincipalName { get; set; } -#nullable restore -#else - [QueryParameter("userPrincipalName")] - public string UserPrincipalName { 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 DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.cs deleted file mode 100644 index 60b5051c396..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName -{ - [Obsolete("This class is obsolete. Use DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse, 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.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs deleted file mode 100644 index bd80998db9c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.EnabledApps.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/$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.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.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.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/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs deleted file mode 100644 index 930458a9376..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.EnabledApps -{ - /// - /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EnabledAppsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. - /// The unique identifier of teamsApp - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamsApp%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(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 EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps{?%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 EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of enabled apps in the channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of enabled apps in the channel. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of enabled apps in the channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EnabledAppsRequestBuilderGetQueryParameters - { - /// 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 EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs deleted file mode 100644 index 5593c451804..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item -{ - /// - /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%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 TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// A collection of enabled apps in the channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of enabled apps in the channel. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of enabled apps in the channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppItemRequestBuilderGetQueryParameters - { - /// 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 TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs deleted file mode 100644 index 7bf3fd0f8d7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,219 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/filesFolder/content{?%24format*}", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/filesFolder/content{?%24format*}", rawUrl) - { - } - /// - /// The content stream, if the item represents a file. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream, if the item represents a file. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream, if the item represents a file. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream, if the item represents a file. - /// - /// 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; - } - /// - /// The content stream, if the item represents a file. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The content stream, if the item represents a file. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The content stream, if the item represents a file. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilderGetQueryParameters - { - /// Format of the content -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24format")] - public string? Format { get; set; } -#nullable restore -#else - [QueryParameter("%24format")] - public string Format { 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs deleted file mode 100644 index 2bd57b73048..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs +++ /dev/null @@ -1,131 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.FilesFolder -{ - /// - /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class FilesFolderRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.ContentRequestBuilder(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 FilesFolderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/filesFolder{?%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 FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/filesFolder{?%24expand,%24select}", rawUrl) - { - } - /// - /// Metadata for the location where the channel's files are stored. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Metadata for the location where the channel's files are stored. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Metadata for the location where the channel's files are stored. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class FilesFolderRequestBuilderGetQueryParameters - { - /// 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 FilesFolderRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddPostRequestBody.cs deleted file mode 100644 index b47329a5fef..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddPostResponse.cs deleted file mode 100644 index 5dc35977121..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AddPostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs deleted file mode 100644 index 2a9fc9cfa2d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Members.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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/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.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddResponse.cs deleted file mode 100644 index e3106f16d49..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs deleted file mode 100644 index fc3426aecce..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Members.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/$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.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.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs deleted file mode 100644 index 87af7d77518..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Members.Item -{ - /// - /// Provides operations to manage the members 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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/{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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property members 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of membership records associated with the channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property members 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property members 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; - } - /// - /// A collection of membership records associated with the channel. - /// - /// 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 members 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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 - { - } - /// - /// A collection of membership records associated with the channel. - /// - [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/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs deleted file mode 100644 index 589b760f242..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Members -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the add method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddRequestBuilder Add - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the remove method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder Remove - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.channel entity. - /// The unique identifier of conversationMember - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("conversationMember%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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 MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members{?%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 MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of membership records associated with the channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to members 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of membership records associated with the channel. - /// - /// 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 members 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of membership records associated with the channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilderGetQueryParameters - { - /// 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 MembersRequestBuilderGetRequestConfiguration : 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 MembersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs deleted file mode 100644 index b0504722040..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs deleted file mode 100644 index 67bb021b255..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RemovePostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs deleted file mode 100644 index 0b73917a3e9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Members.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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/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.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.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/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs deleted file mode 100644 index d59f77d75d2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.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.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs deleted file mode 100644 index 932bdbeda82..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/$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.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.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.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/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaGetResponse.cs deleted file mode 100644 index 1404ea1b420..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 5edaf72a2ac..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaResponse.cs deleted file mode 100644 index b299c2bf961..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.Messages.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaGetResponse, 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.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs deleted file mode 100644 index 3fdba90742c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder HostedContents - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder Replies - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setReaction method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the softDelete method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the undoSoftDelete method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unsetReaction method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder(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 ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%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 ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property messages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property messages 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property messages 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; - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - /// 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 messages 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder(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 ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageItemRequestBuilderGetRequestConfiguration : 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 ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs deleted file mode 100644 index 095419ed94a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/$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.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.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/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs deleted file mode 100644 index 028636c3551..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessageHostedContent - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessageHostedContent%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%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 HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilderGetQueryParameters - { - /// 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 HostedContentsRequestBuilderGetRequestConfiguration : 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 HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs deleted file mode 100644 index 80817e5771d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property hostedContents 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property hostedContents 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; - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : 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 ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index 8fc46c459bd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs deleted file mode 100644 index e05306fee1a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/$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.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.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/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs deleted file mode 100644 index 764cd84ebba..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 3aba1f00659..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaResponse.cs deleted file mode 100644 index a4048b46420..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaGetResponse, 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs deleted file mode 100644 index f40f56cda2c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ /dev/null @@ -1,259 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item -{ - /// - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setReaction method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the softDelete method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the undoSoftDelete method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unsetReaction method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(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 ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}{?%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 ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property replies 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property replies 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property replies 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; - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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 replies 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder(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 ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageItemRequestBuilderGetRequestConfiguration : 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 ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs deleted file mode 100644 index 064499b2583..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/$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.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.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/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs deleted file mode 100644 index d08527450d7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessageHostedContent - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessageHostedContent%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%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 HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilderGetQueryParameters - { - /// 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 HostedContentsRequestBuilderGetRequestConfiguration : 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 HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs deleted file mode 100644 index 8f5a697a0a8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property hostedContents 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property hostedContents 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; - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : 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 ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index 52df0df8252..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs deleted file mode 100644 index f66777ca4dc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SetReactionPostRequestBody() - { - 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs deleted file mode 100644 index 6ecd986b2d9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction -{ - /// - /// Provides operations to call the setReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/setReaction", 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 SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/setReaction", rawUrl) - { - } - /// - /// Invoke action setReaction - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action setReaction - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(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 SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs deleted file mode 100644 index 3e4998b10ff..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete -{ - /// - /// Provides operations to call the softDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", 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 SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) - { - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(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 SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs deleted file mode 100644 index f99759c441c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete -{ - /// - /// Provides operations to call the undoSoftDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", 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 UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) - { - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(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 UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs deleted file mode 100644 index 25dcdf99f93..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UnsetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UnsetReactionPostRequestBody() - { - 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs deleted file mode 100644 index b1a04fda275..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction -{ - /// - /// Provides operations to call the unsetReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnsetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/unsetReaction", 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 UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/unsetReaction", rawUrl) - { - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(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 UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs deleted file mode 100644 index dbd994f08a7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies -{ - /// - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RepliesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyWithQuote method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessage - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessage%2Did1", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder(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 RepliesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies{?%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 RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to replies 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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 replies 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RepliesRequestBuilderGetQueryParameters - { - /// 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 RepliesRequestBuilderGetRequestConfiguration : 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 RepliesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs deleted file mode 100644 index 3ac30c4fa95..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyWithQuotePostRequestBody : 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 messageIds property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? MessageIds - { - get { return BackingStore?.Get?>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#nullable restore -#else - public List MessageIds - { - get { return BackingStore?.Get>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#endif - /// The replyMessage property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ChatMessage ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyWithQuotePostRequestBody() - { - 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); - writer.WriteObjectValue("replyMessage", ReplyMessage); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs deleted file mode 100644 index dce23c8e3d0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote -{ - /// - /// Provides operations to call the replyWithQuote method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", 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 ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) - { - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// 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 PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(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 ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs deleted file mode 100644 index d2c785c8d4c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SetReactionPostRequestBody() - { - 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs deleted file mode 100644 index 8fb59b34e16..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction -{ - /// - /// Provides operations to call the setReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/setReaction", 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 SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/setReaction", rawUrl) - { - } - /// - /// Invoke action setReaction - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action setReaction - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(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 SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs deleted file mode 100644 index 39edef8dd6a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete -{ - /// - /// Provides operations to call the softDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/softDelete", 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 SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/softDelete", rawUrl) - { - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder(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 SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs deleted file mode 100644 index 73cfe57503d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete -{ - /// - /// Provides operations to call the undoSoftDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", 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 UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) - { - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(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 UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs deleted file mode 100644 index 2714af1b754..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UnsetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UnsetReactionPostRequestBody() - { - 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs deleted file mode 100644 index 9143b242f68..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction -{ - /// - /// Provides operations to call the unsetReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnsetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/unsetReaction", 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 UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/unsetReaction", rawUrl) - { - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder(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 UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs deleted file mode 100644 index 4295db8a4db..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyWithQuote method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.channel entity. - /// The unique identifier of chatMessage - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessage%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder(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 MessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages{?%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 MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to messages 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - /// 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 messages 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilderGetQueryParameters - { - /// 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 MessagesRequestBuilderGetRequestConfiguration : 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 MessagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs deleted file mode 100644 index cadbc53c009..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyWithQuotePostRequestBody : 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 messageIds property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? MessageIds - { - get { return BackingStore?.Get?>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#nullable restore -#else - public List MessageIds - { - get { return BackingStore?.Get>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#endif - /// The replyMessage property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ChatMessage ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyWithQuotePostRequestBody() - { - 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.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); - writer.WriteObjectValue("replyMessage", ReplyMessage); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs deleted file mode 100644 index 99035991227..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote -{ - /// - /// Provides operations to call the replyWithQuote method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", 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 ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", rawUrl) - { - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// 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 PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(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 ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs deleted file mode 100644 index e02bb9d26cb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail -{ - /// - /// Provides operations to call the provisionEmail method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProvisionEmailRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ProvisionEmailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/provisionEmail", 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 ProvisionEmailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/provisionEmail", rawUrl) - { - } - /// - /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder(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 ProvisionEmailRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs deleted file mode 100644 index 242f697edbe..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.RemoveEmail -{ - /// - /// Provides operations to call the removeEmail method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RemoveEmailRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RemoveEmailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/removeEmail", 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 RemoveEmailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/removeEmail", rawUrl) - { - } - /// - /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder(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 RemoveEmailRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs deleted file mode 100644 index 9f219fc852f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/$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.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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.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/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs deleted file mode 100644 index 85e7b9bf913..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers -{ - /// - /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedMembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. - /// The unique identifier of conversationMember - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("conversationMember%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.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 AllowedMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers{?%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 AllowedMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of team members who have access to the shared channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of team members who have access to the shared channel. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of team members who have access to the shared channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedMembersRequestBuilderGetQueryParameters - { - /// 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 AllowedMembersRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs deleted file mode 100644 index 938581422bc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers/$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.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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.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/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs deleted file mode 100644 index 958b67ce461..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item -{ - /// - /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo 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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers/{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}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// A collection of team members who have access to the shared channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of team members who have access to the shared channel. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of team members who have access to the shared channel. - /// - [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 - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs deleted file mode 100644 index 028a967090d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item -{ - /// - /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedWithChannelTeamInfoItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder AllowedMembers - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the team property of the microsoft.graph.teamInfo entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.TeamRequestBuilder Team - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.TeamRequestBuilder(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 SharedWithChannelTeamInfoItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%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 SharedWithChannelTeamInfoItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sharedWithTeams 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of teams with which a channel is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sharedWithTeams 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.Models.SharedWithChannelTeamInfo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.SharedWithChannelTeamInfo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sharedWithTeams 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; - } - /// - /// A collection of teams with which a channel is shared. - /// - /// 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 sharedWithTeams 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.Models.SharedWithChannelTeamInfo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharedWithChannelTeamInfo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder(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 SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of teams with which a channel is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters - { - /// 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 SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration : 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 SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs deleted file mode 100644 index 74c4f92e20b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team -{ - /// - /// Provides operations to manage the team property of the microsoft.graph.teamInfo entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/team{?%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 TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/team{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get team 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get team 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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.TeamRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.TeamRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get team from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamRequestBuilderGetQueryParameters - { - /// 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 TeamRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs deleted file mode 100644 index 765651b411e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams -{ - /// - /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedWithTeamsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. - /// The unique identifier of sharedWithChannelTeamInfo - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("sharedWithChannelTeamInfo%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder(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 SharedWithTeamsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams{?%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 SharedWithTeamsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of teams with which a channel is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to sharedWithTeams 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.Models.SharedWithChannelTeamInfo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.SharedWithChannelTeamInfo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of teams with which a channel is shared. - /// - /// 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 sharedWithTeams 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.Models.SharedWithChannelTeamInfo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharedWithChannelTeamInfo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of teams with which a channel is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedWithTeamsRequestBuilderGetQueryParameters - { - /// 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 SharedWithTeamsRequestBuilderGetRequestConfiguration : 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 SharedWithTeamsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs deleted file mode 100644 index 6bc553823c5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Channels.Item.StartMigration -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property - public DateTimeOffset? ConversationCreationDateTime - { - get { return BackingStore?.Get("conversationCreationDateTime"); } - set { BackingStore?.Set("conversationCreationDateTime", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public StartMigrationPostRequestBody() - { - 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.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs deleted file mode 100644 index c918fc6ee61..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.StartMigration -{ - /// - /// Provides operations to call the startMigration method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class StartMigrationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/startMigration", 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 StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/startMigration", rawUrl) - { - } - /// - /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs deleted file mode 100644 index 183a646b827..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Tabs.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/tabs/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/tabs/$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.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.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.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/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs deleted file mode 100644 index 7138dc3b4a7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp -{ - /// - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/tabs/{teamsTab%2Did}/teamsApp{?%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 TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/tabs/{teamsTab%2Did}/teamsApp{?%24expand,%24select}", rawUrl) - { - } - /// - /// The application that is linked to the tab. This can't be changed after tab creation. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The application that is linked to the tab. This can't be changed after tab creation. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The application that is linked to the tab. This can't be changed after tab creation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilderGetQueryParameters - { - /// 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 TeamsAppRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs deleted file mode 100644 index f72461bf346..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Tabs.Item -{ - /// - /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsTabItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder TeamsApp - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder(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 TeamsTabItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/tabs/{teamsTab%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 TeamsTabItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/tabs/{teamsTab%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property tabs 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property tabs 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; - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - /// 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 tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder(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 TeamsTabItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsTabItemRequestBuilderGetQueryParameters - { - /// 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 TeamsTabItemRequestBuilderGetRequestConfiguration : 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 TeamsTabItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs deleted file mode 100644 index 4f5485530c1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Tabs -{ - /// - /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TabsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. - /// The unique identifier of teamsTab - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamsTab%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder(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 TabsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/tabs{?%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 TabsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/tabs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - /// 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 tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.TabsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.TabsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TabsRequestBuilderGetQueryParameters - { - /// 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 TabsRequestBuilderGetRequestConfiguration : 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 TabsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.cs deleted file mode 100644 index 90c25654c3e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.Unarchive -{ - /// - /// Provides operations to call the unarchive method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnarchiveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnarchiveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/unarchive", 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 UnarchiveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/unarchive", rawUrl) - { - } - /// - /// Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. - /// - /// 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.Me.JoinedTeams.Item.Channels.Item.Unarchive.UnarchiveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.UnarchiveRequestBuilder(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 UnarchiveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/ClonePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/ClonePostRequestBody.cs deleted file mode 100644 index af76d8e8893..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/ClonePostRequestBody.cs +++ /dev/null @@ -1,152 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Clone -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ClonePostRequestBody : 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 classification property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Classification - { - get { return BackingStore?.Get("classification"); } - set { BackingStore?.Set("classification", value); } - } -#nullable restore -#else - public string Classification - { - get { return BackingStore?.Get("classification"); } - set { BackingStore?.Set("classification", value); } - } -#endif - /// 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 - 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 mailNickname property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? MailNickname - { - get { return BackingStore?.Get("mailNickname"); } - set { BackingStore?.Set("mailNickname", value); } - } -#nullable restore -#else - public string MailNickname - { - get { return BackingStore?.Get("mailNickname"); } - set { BackingStore?.Set("mailNickname", value); } - } -#endif - /// The partsToClone property - public global::Microsoft.Graph.Models.ClonableTeamParts? PartsToClone - { - get { return BackingStore?.Get("partsToClone"); } - set { BackingStore?.Set("partsToClone", value); } - } - /// The visibility property - public global::Microsoft.Graph.Models.TeamVisibilityType? Visibility - { - get { return BackingStore?.Get("visibility"); } - set { BackingStore?.Set("visibility", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public ClonePostRequestBody() - { - 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.Me.JoinedTeams.Item.Clone.ClonePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Clone.ClonePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "classification", n => { Classification = n.GetStringValue(); } }, - { "description", n => { Description = n.GetStringValue(); } }, - { "displayName", n => { DisplayName = n.GetStringValue(); } }, - { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, - { "partsToClone", n => { PartsToClone = n.GetEnumValue(); } }, - { "visibility", n => { Visibility = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("classification", Classification); - writer.WriteStringValue("description", Description); - writer.WriteStringValue("displayName", DisplayName); - writer.WriteStringValue("mailNickname", MailNickname); - writer.WriteEnumValue("partsToClone", PartsToClone); - writer.WriteEnumValue("visibility", Visibility); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/CloneRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/CloneRequestBuilder.cs deleted file mode 100644 index 8e45de10e88..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/CloneRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Clone -{ - /// - /// Provides operations to call the clone method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CloneRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CloneRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/clone", 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 CloneRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/clone", rawUrl) - { - } - /// - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Clone.ClonePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Clone.ClonePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. - /// - /// 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.Me.JoinedTeams.Item.Clone.ClonePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Clone.ClonePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Clone.CloneRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Clone.CloneRequestBuilder(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 CloneRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs deleted file mode 100644 index 2e69829e0e1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.CompleteMigration -{ - /// - /// Provides operations to call the completeMigration method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CompleteMigrationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CompleteMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/completeMigration", 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 CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/completeMigration", rawUrl) - { - } - /// - /// Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. - /// - /// 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.Me.JoinedTeams.Item.CompleteMigration.CompleteMigrationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.CompleteMigrationRequestBuilder(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 CompleteMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/GroupRequestBuilder.cs deleted file mode 100644 index f4c79a83fbf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/GroupRequestBuilder.cs +++ /dev/null @@ -1,131 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Group -{ - /// - /// Provides operations to manage the group property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GroupRequestBuilder : BaseRequestBuilder - { - /// The serviceProvisioningErrors property - public global::Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Group.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 GroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/group{?%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 GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/group{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get group 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get group 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.Me.JoinedTeams.Item.Group.GroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Group.GroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get group from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GroupRequestBuilderGetQueryParameters - { - /// 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 GroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs deleted file mode 100644 index 8487eb514e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Group.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/joinedTeams/{team%2Did}/group/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/joinedTeams/{team%2Did}/group/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.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.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Group.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/JoinedTeams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs deleted file mode 100644 index 61f06cc68fe..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors -{ - /// - /// Builds and executes requests for operations under \me\joinedTeams\{team-id}\group\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.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Group.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/joinedTeams/{team%2Did}/group/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/joinedTeams/{team%2Did}/group/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 group object. Supports $filter (eq, not, for isResolved and serviceInstance). - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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 group object. Supports $filter (eq, not, for isResolved and serviceInstance). - /// - /// 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.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object. Supports $filter (eq, not, for isResolved and serviceInstance). - /// - [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/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs deleted file mode 100644 index 50ee7aa49af..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.IncomingChannels.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/joinedTeams/{team%2Did}/incomingChannels/$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/joinedTeams/{team%2Did}/incomingChannels/$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.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.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.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/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs deleted file mode 100644 index 1c34b720467..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.IncomingChannels -{ - /// - /// Provides operations to manage the incomingChannels property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class IncomingChannelsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the incomingChannels property of the microsoft.graph.team entity. - /// The unique identifier of channel - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("channel%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder(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 IncomingChannelsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/incomingChannels{?%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 IncomingChannelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/incomingChannels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// List of channels shared with the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List of channels shared with the team. - /// - /// 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.Me.JoinedTeams.Item.IncomingChannels.IncomingChannelsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.IncomingChannelsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List of channels shared with the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class IncomingChannelsRequestBuilderGetQueryParameters - { - /// 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 IncomingChannelsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs deleted file mode 100644 index e4b7dd145f3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.IncomingChannels.Item -{ - /// - /// Provides operations to manage the incomingChannels property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChannelItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ChannelItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/incomingChannels/{channel%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 ChannelItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/incomingChannels/{channel%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// List of channels shared with the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List of channels shared with the team. - /// - /// 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.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List of channels shared with the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChannelItemRequestBuilderGetQueryParameters - { - /// 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 ChannelItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs deleted file mode 100644 index 35719ea325b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.InstalledApps.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/joinedTeams/{team%2Did}/installedApps/$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/joinedTeams/{team%2Did}/installedApps/$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.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.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.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/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs deleted file mode 100644 index 37f3e20c3fb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.InstalledApps -{ - /// - /// Provides operations to manage the installedApps property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstalledAppsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the installedApps property of the microsoft.graph.team entity. - /// The unique identifier of teamsAppInstallation - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamsAppInstallation%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder(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 InstalledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps{?%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 InstalledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The apps installed in this team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to installedApps 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.Models.TeamsAppInstallation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TeamsAppInstallation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The apps installed in this team. - /// - /// 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 installedApps 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.Models.TeamsAppInstallation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsAppInstallation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.InstalledAppsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.InstalledAppsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The apps installed in this team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstalledAppsRequestBuilderGetQueryParameters - { - /// 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 InstalledAppsRequestBuilderGetRequestConfiguration : 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 InstalledAppsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs deleted file mode 100644 index 45bf001ec8a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp -{ - /// - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps/{teamsAppInstallation%2Did}/teamsApp{?%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 TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps/{teamsAppInstallation%2Did}/teamsApp{?%24expand,%24select}", rawUrl) - { - } - /// - /// The app that is installed. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The app that is installed. - /// - /// 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.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The app that is installed. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilderGetQueryParameters - { - /// 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 TeamsAppRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs deleted file mode 100644 index 4cb55b1e40c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition -{ - /// - /// Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppDefinitionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppDefinitionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps/{teamsAppInstallation%2Did}/teamsAppDefinition{?%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 TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps/{teamsAppInstallation%2Did}/teamsAppDefinition{?%24expand,%24select}", rawUrl) - { - } - /// - /// The details of this version of the app. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The details of this version of the app. - /// - /// 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.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The details of this version of the app. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppDefinitionRequestBuilderGetQueryParameters - { - /// 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 TeamsAppDefinitionRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs deleted file mode 100644 index ded78be328d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ /dev/null @@ -1,247 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp; -using Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition; -using Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.InstalledApps.Item -{ - /// - /// Provides operations to manage the installedApps property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppInstallationItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder TeamsApp - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder TeamsAppDefinition - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the upgrade method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder Upgrade - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder(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 TeamsAppInstallationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps/{teamsAppInstallation%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 TeamsAppInstallationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps/{teamsAppInstallation%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property installedApps 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The apps installed in this team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property installedApps 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.Models.TeamsAppInstallation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAppInstallation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property installedApps 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; - } - /// - /// The apps installed in this team. - /// - /// 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 installedApps 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.Models.TeamsAppInstallation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAppInstallation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder(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 TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The apps installed in this team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppInstallationItemRequestBuilderGetQueryParameters - { - /// 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 TeamsAppInstallationItemRequestBuilderGetRequestConfiguration : 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 TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs deleted file mode 100644 index 96e7d1187f6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UpgradePostRequestBody : 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 consentedPermissionSet property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamsAppPermissionSet? ConsentedPermissionSet - { - get { return BackingStore?.Get("consentedPermissionSet"); } - set { BackingStore?.Set("consentedPermissionSet", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamsAppPermissionSet ConsentedPermissionSet - { - get { return BackingStore?.Get("consentedPermissionSet"); } - set { BackingStore?.Set("consentedPermissionSet", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UpgradePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "consentedPermissionSet", n => { ConsentedPermissionSet = n.GetObjectValue(global::Microsoft.Graph.Models.TeamsAppPermissionSet.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("consentedPermissionSet", ConsentedPermissionSet); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs deleted file mode 100644 index 19d702b1672..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade -{ - /// - /// Provides operations to call the upgrade method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UpgradeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UpgradeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps/{teamsAppInstallation%2Did}/upgrade", 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 UpgradeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/installedApps/{teamsAppInstallation%2Did}/upgrade", rawUrl) - { - } - /// - /// Upgrade an app installation within a chat. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// 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.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Upgrade an app installation within a chat. - /// - /// 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.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder(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 UpgradeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddPostRequestBody.cs deleted file mode 100644 index 24d64e717f4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddPostResponse.cs deleted file mode 100644 index da70b66bd25..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Members.Add -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AddPostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Members.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs deleted file mode 100644 index 2d97f0cfc8a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Members.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}/me/joinedTeams/{team%2Did}/members/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}/me/joinedTeams/{team%2Did}/members/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.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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/Me/JoinedTeams/Item/Members/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddResponse.cs deleted file mode 100644 index cb7a8a784b0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs deleted file mode 100644 index bca0239dabb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Members.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/joinedTeams/{team%2Did}/members/$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/joinedTeams/{team%2Did}/members/$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.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.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs deleted file mode 100644 index 1db461b0856..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Members.Item -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.team 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}/me/joinedTeams/{team%2Did}/members/{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}/me/joinedTeams/{team%2Did}/members/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property members 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Members and owners of the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property members 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property members 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; - } - /// - /// Members and owners of the team. - /// - /// 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 members 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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 - { - } - /// - /// Members and owners of the team. - /// - [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/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs deleted file mode 100644 index c4fffe1ea05..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Members.Add; -using Microsoft.Graph.Me.JoinedTeams.Item.Members.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Members.Item; -using Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Members -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the add method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddRequestBuilder Add - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the remove method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder Remove - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.team entity. - /// The unique identifier of conversationMember - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("conversationMember%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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 MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/members{?%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 MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Members and owners of the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to members 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Members and owners of the team. - /// - /// 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 members 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Members and owners of the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilderGetQueryParameters - { - /// 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 MembersRequestBuilderGetRequestConfiguration : 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 MembersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.cs deleted file mode 100644 index 5aa103ef2da..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs deleted file mode 100644 index 158a34a2fa9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RemovePostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs deleted file mode 100644 index 1f2d32905a1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Members.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}/me/joinedTeams/{team%2Did}/members/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}/me/joinedTeams/{team%2Did}/members/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.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.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/Me/JoinedTeams/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveResponse.cs deleted file mode 100644 index ee1cdfbaaab..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.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.Me.JoinedTeams.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs deleted file mode 100644 index 80a4a4a84c5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Operations.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/operations/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/operations/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.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.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs deleted file mode 100644 index 734ede1642e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Operations.Item -{ - /// - /// Provides operations to manage the operations property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAsyncOperationItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAsyncOperationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/operations/{teamsAsyncOperation%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 TeamsAsyncOperationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/operations/{teamsAsyncOperation%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property operations 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The async operations that ran or are running on this team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property operations 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.Models.TeamsAsyncOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAsyncOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property operations 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; - } - /// - /// The async operations that ran or are running on this team. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property operations in 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.Models.TeamsAsyncOperation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAsyncOperation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder(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 TeamsAsyncOperationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The async operations that ran or are running on this team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAsyncOperationItemRequestBuilderGetQueryParameters - { - /// 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 TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration : 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 TeamsAsyncOperationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs deleted file mode 100644 index 838564c8085..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Operations -{ - /// - /// Provides operations to manage the operations property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the operations property of the microsoft.graph.team entity. - /// The unique identifier of teamsAsyncOperation - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamsAsyncOperation%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OperationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The async operations that ran or are running on this team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to operations 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.Models.TeamsAsyncOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TeamsAsyncOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The async operations that ran or are running on this team. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to operations for 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.Models.TeamsAsyncOperation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsAsyncOperation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.OperationsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.OperationsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The async operations that ran or are running on this team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs deleted file mode 100644 index d75056d67d4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PermissionGrants.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/joinedTeams/{team%2Did}/permissionGrants/$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/joinedTeams/{team%2Did}/permissionGrants/$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.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.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.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/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs deleted file mode 100644 index 6f49cec1209..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PermissionGrants.Item -{ - /// - /// Provides operations to manage the permissionGrants property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceSpecificPermissionGrantItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResourceSpecificPermissionGrantItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/permissionGrants/{resourceSpecificPermissionGrant%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 ResourceSpecificPermissionGrantItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/permissionGrants/{resourceSpecificPermissionGrant%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property permissionGrants 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of permissions granted to apps to access the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property permissionGrants 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; - } - /// - /// A collection of permissions granted to apps to access the team. - /// - /// 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 permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder(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 ResourceSpecificPermissionGrantItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of permissions granted to apps to access the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters - { - /// 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 ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration : 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 ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs deleted file mode 100644 index 4cff140b99a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PermissionGrants -{ - /// - /// Provides operations to manage the permissionGrants property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermissionGrantsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the permissionGrants property of the microsoft.graph.team entity. - /// The unique identifier of resourceSpecificPermissionGrant - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("resourceSpecificPermissionGrant%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder(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 PermissionGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/permissionGrants{?%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 PermissionGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/permissionGrants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of permissions granted to apps to access the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of permissions granted to apps to access the team. - /// - /// 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 permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.PermissionGrantsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.PermissionGrantsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of permissions granted to apps to access the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermissionGrantsRequestBuilderGetQueryParameters - { - /// 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 PermissionGrantsRequestBuilderGetRequestConfiguration : 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 PermissionGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs deleted file mode 100644 index 4b973c19e2e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs +++ /dev/null @@ -1,186 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Photo -{ - /// - /// Provides operations to manage the photo property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder(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 PhotoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/photo{?%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 PhotoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/photo{?%24expand,%24select}", rawUrl) - { - } - /// - /// The profile photo for the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property photo 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.Models.ProfilePhoto body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The profile photo for the team. - /// - /// 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 photo 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.Models.ProfilePhoto body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Photo.PhotoRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Photo.PhotoRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The profile photo for the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilderGetQueryParameters - { - /// 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 PhotoRequestBuilderGetRequestConfiguration : 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 PhotoRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs deleted file mode 100644 index 754f56fc976..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Photo.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/photo/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/photo/$value", rawUrl) - { - } - /// - /// The profile photo for the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The profile photo for the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The profile photo for the team. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The profile photo for the team. - /// - /// 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; - } - /// - /// The profile photo for the team. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The profile photo for the team. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs deleted file mode 100644 index 8585586b23b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs deleted file mode 100644 index 6587b476126..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AddPostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs deleted file mode 100644 index 984e7ec13a3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/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}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddResponse.cs deleted file mode 100644 index 063b3070d12..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs deleted file mode 100644 index b2a66a0df0b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers -{ - /// - /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllMembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the add method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder Add - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the remove method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder Remove - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. - /// The unique identifier of conversationMember - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("conversationMember%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllMembersRequestBuilderGetQueryParameters - { - /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs deleted file mode 100644 index 8f83d3da0a1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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/joinedTeams/{team%2Did}/primaryChannel/allMembers/$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/joinedTeams/{team%2Did}/primaryChannel/allMembers/$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.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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/JoinedTeams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs deleted file mode 100644 index a852e4c7858..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item -{ - /// - /// Provides operations to manage the allMembers 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}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/{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}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property allMembers 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property allMembers 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; - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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 - { - } - /// - /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. - /// - [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/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs deleted file mode 100644 index ce710a1a480..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs deleted file mode 100644 index 4ff99caac1d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RemovePostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs deleted file mode 100644 index 3fd4ed649d6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/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}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs deleted file mode 100644 index 4b42e5dda4f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs deleted file mode 100644 index 24719fab0d7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.Archive -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ArchivePostRequestBody : 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 shouldSetSpoSiteReadOnlyForMembers property - public bool? ShouldSetSpoSiteReadOnlyForMembers - { - get { return BackingStore?.Get("shouldSetSpoSiteReadOnlyForMembers"); } - set { BackingStore?.Set("shouldSetSpoSiteReadOnlyForMembers", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public ArchivePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - ShouldSetSpoSiteReadOnlyForMembers = false; - } - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchivePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchivePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "shouldSetSpoSiteReadOnlyForMembers", n => { ShouldSetSpoSiteReadOnlyForMembers = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("shouldSetSpoSiteReadOnlyForMembers", ShouldSetSpoSiteReadOnlyForMembers); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.cs deleted file mode 100644 index d57e80d7bf7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Archive -{ - /// - /// Provides operations to call the archive method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ArchiveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ArchiveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/archive", 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 ArchiveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/archive", rawUrl) - { - } - /// - /// Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchivePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchivePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchivePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchivePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder(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 ArchiveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs deleted file mode 100644 index 82e50c2272a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration -{ - /// - /// Provides operations to call the completeMigration method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CompleteMigrationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CompleteMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/completeMigration", 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 CompleteMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/completeMigration", rawUrl) - { - } - /// - /// Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder(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 CompleteMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs deleted file mode 100644 index 5f53b820c8d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse : 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 value property - public bool? Value - { - get { return BackingStore?.Get("value"); } - set { BackingStore?.Set("value", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - Value = false; - } - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "value", n => { Value = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("value", Value); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs deleted file mode 100644 index f5dc3e9e749..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ /dev/null @@ -1,160 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName -{ - /// - /// Provides operations to call the doesUserHaveAccess method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/doesUserHaveAccess(userId='@userId',tenantId='@tenantId',userPrincipalName='@userPrincipalName'){?tenantId*,userId*,userPrincipalName*}", 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 DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/doesUserHaveAccess(userId='@userId',tenantId='@tenantId',userPrincipalName='@userPrincipalName'){?tenantId*,userId*,userPrincipalName*}", rawUrl) - { - } - /// - /// Determine whether a user has access to a channel. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Determine whether a user has access to a channel. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Determine whether a user has access to a channel. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Determine whether a user has access to a channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters - { - /// Usage: tenantId='@tenantId' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("tenantId")] - public string? TenantId { get; set; } -#nullable restore -#else - [QueryParameter("tenantId")] - public string TenantId { get; set; } -#endif - /// Usage: userId='@userId' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("userId")] - public string? UserId { get; set; } -#nullable restore -#else - [QueryParameter("userId")] - public string UserId { get; set; } -#endif - /// Usage: userPrincipalName='@userPrincipalName' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("userPrincipalName")] - public string? UserPrincipalName { get; set; } -#nullable restore -#else - [QueryParameter("userPrincipalName")] - public string UserPrincipalName { 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 DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.cs deleted file mode 100644 index b6fc9a5865a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName -{ - [Obsolete("This class is obsolete. Use DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse, 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.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs deleted file mode 100644 index d83bf16dd7c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.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/joinedTeams/{team%2Did}/primaryChannel/enabledApps/$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/joinedTeams/{team%2Did}/primaryChannel/enabledApps/$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.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.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.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/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs deleted file mode 100644 index 728c99ccae6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps -{ - /// - /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EnabledAppsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. - /// The unique identifier of teamsApp - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamsApp%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(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 EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps{?%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 EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of enabled apps in the channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of enabled apps in the channel. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of enabled apps in the channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EnabledAppsRequestBuilderGetQueryParameters - { - /// 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 EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs deleted file mode 100644 index 8a7e4d318fa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item -{ - /// - /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%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 TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// A collection of enabled apps in the channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of enabled apps in the channel. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of enabled apps in the channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppItemRequestBuilderGetQueryParameters - { - /// 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 TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs deleted file mode 100644 index 093b67a4f28..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,219 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/filesFolder/content{?%24format*}", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/filesFolder/content{?%24format*}", rawUrl) - { - } - /// - /// The content stream, if the item represents a file. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream, if the item represents a file. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream, if the item represents a file. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream, if the item represents a file. - /// - /// 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; - } - /// - /// The content stream, if the item represents a file. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The content stream, if the item represents a file. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The content stream, if the item represents a file. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilderGetQueryParameters - { - /// Format of the content -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24format")] - public string? Format { get; set; } -#nullable restore -#else - [QueryParameter("%24format")] - public string Format { 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs deleted file mode 100644 index ad56100d8a3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs +++ /dev/null @@ -1,131 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder -{ - /// - /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class FilesFolderRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.ContentRequestBuilder(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 FilesFolderRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/filesFolder{?%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 FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/filesFolder{?%24expand,%24select}", rawUrl) - { - } - /// - /// Metadata for the location where the channel's files are stored. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Metadata for the location where the channel's files are stored. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Metadata for the location where the channel's files are stored. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class FilesFolderRequestBuilderGetQueryParameters - { - /// 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 FilesFolderRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddPostRequestBody.cs deleted file mode 100644 index 5236fa6895d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddPostResponse.cs deleted file mode 100644 index d765d140f82..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AddPostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs deleted file mode 100644 index 94ca21a5be0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Members.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}/me/joinedTeams/{team%2Did}/primaryChannel/members/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}/me/joinedTeams/{team%2Did}/primaryChannel/members/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.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddResponse.cs deleted file mode 100644 index 6911234166f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs deleted file mode 100644 index 245ee8ccf6c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Members.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/joinedTeams/{team%2Did}/primaryChannel/members/$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/joinedTeams/{team%2Did}/primaryChannel/members/$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.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs deleted file mode 100644 index fc2dfd93d54..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Item -{ - /// - /// Provides operations to manage the members 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}/me/joinedTeams/{team%2Did}/primaryChannel/members/{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}/me/joinedTeams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property members 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of membership records associated with the channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property members 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property members 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; - } - /// - /// A collection of membership records associated with the channel. - /// - /// 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 members 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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 - { - } - /// - /// A collection of membership records associated with the channel. - /// - [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/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs deleted file mode 100644 index b5ecc9a3ec3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Members -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the add method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddRequestBuilder Add - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the remove method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder Remove - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.channel entity. - /// The unique identifier of conversationMember - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("conversationMember%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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 MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/members{?%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 MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of membership records associated with the channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to members 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of membership records associated with the channel. - /// - /// 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 members 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.Models.ConversationMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of membership records associated with the channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilderGetQueryParameters - { - /// 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 MembersRequestBuilderGetRequestConfiguration : 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 MembersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs deleted file mode 100644 index e5f96891d9c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("values", Values); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs deleted file mode 100644 index 5465f0fb2e7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RemovePostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs deleted file mode 100644 index 04fb94ecd6b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Members.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}/me/joinedTeams/{team%2Did}/primaryChannel/members/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}/me/joinedTeams/{team%2Did}/primaryChannel/members/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.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.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/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs deleted file mode 100644 index 89776d8dd7a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.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.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs deleted file mode 100644 index 710d0e1c2a4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.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/joinedTeams/{team%2Did}/primaryChannel/messages/$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/joinedTeams/{team%2Did}/primaryChannel/messages/$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.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.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/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaGetResponse.cs deleted file mode 100644 index 79d14a5f4a0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 3d58a56556b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaResponse.cs deleted file mode 100644 index b72536553d9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaGetResponse, 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs deleted file mode 100644 index 867e8d816aa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.HostedContentsRequestBuilder HostedContents - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder Replies - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setReaction method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the softDelete method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the undoSoftDelete method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unsetReaction method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder(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 ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%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 ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property messages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property messages 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property messages 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; - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - /// 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 messages 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder(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 ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageItemRequestBuilderGetRequestConfiguration : 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 ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs deleted file mode 100644 index 243db4e0326..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.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/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/$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/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/$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.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.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/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs deleted file mode 100644 index c46968d213d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessageHostedContent - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessageHostedContent%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%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 HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilderGetQueryParameters - { - /// 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 HostedContentsRequestBuilderGetRequestConfiguration : 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 HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs deleted file mode 100644 index 1e4f3dcf715..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property hostedContents 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property hostedContents 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; - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : 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 ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index e557809fc1d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs deleted file mode 100644 index ab91df974b7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.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/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/$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/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/$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.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.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/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaGetResponse.cs deleted file mode 100644 index 28c1ef0c098..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index f3e05f1a57b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaResponse.cs deleted file mode 100644 index 78af8d0a0d3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaGetResponse, 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs deleted file mode 100644 index 9a74129f7f1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ /dev/null @@ -1,259 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item -{ - /// - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setReaction method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the softDelete method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the undoSoftDelete method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unsetReaction method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(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 ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}{?%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 ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property replies 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property replies 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property replies 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; - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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 replies 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder(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 ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageItemRequestBuilderGetRequestConfiguration : 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 ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs deleted file mode 100644 index d095c5f8f1b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.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/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/$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/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/$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.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.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/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs deleted file mode 100644 index 582fdda8bdc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessageHostedContent - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessageHostedContent%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%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 HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class HostedContentsRequestBuilderGetQueryParameters - { - /// 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 HostedContentsRequestBuilderGetRequestConfiguration : 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 HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs deleted file mode 100644 index 26ec96faa1e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item -{ - /// - /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property hostedContents 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property hostedContents 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; - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - /// 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 hostedContents 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(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 ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters - { - /// 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 ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : 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 ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index c4d166919bd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs deleted file mode 100644 index 5d82b6ae35b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SetReactionPostRequestBody() - { - 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs deleted file mode 100644 index b4ccb1d0600..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction -{ - /// - /// Provides operations to call the setReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/setReaction", 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 SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/setReaction", rawUrl) - { - } - /// - /// Invoke action setReaction - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action setReaction - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(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 SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs deleted file mode 100644 index 926579d034f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete -{ - /// - /// Provides operations to call the softDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", 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 SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/softDelete", rawUrl) - { - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(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 SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs deleted file mode 100644 index 6d473c310fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete -{ - /// - /// Provides operations to call the undoSoftDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", 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 UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/undoSoftDelete", rawUrl) - { - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(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 UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs deleted file mode 100644 index bcd00b8744d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UnsetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UnsetReactionPostRequestBody() - { - 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs deleted file mode 100644 index 13cbce6cf4c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction -{ - /// - /// Provides operations to call the unsetReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnsetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/unsetReaction", 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 UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/unsetReaction", rawUrl) - { - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(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 UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs deleted file mode 100644 index fcaf45cbfd5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies -{ - /// - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RepliesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyWithQuote method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. - /// The unique identifier of chatMessage - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessage%2Did1", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder(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 RepliesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies{?%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 RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to replies 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - /// 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 replies 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Replies for a specified message. Supports $expand for channel messages. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RepliesRequestBuilderGetQueryParameters - { - /// 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 RepliesRequestBuilderGetRequestConfiguration : 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 RepliesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs deleted file mode 100644 index 049933301ec..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyWithQuotePostRequestBody : 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 messageIds property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? MessageIds - { - get { return BackingStore?.Get?>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#nullable restore -#else - public List MessageIds - { - get { return BackingStore?.Get>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#endif - /// The replyMessage property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ChatMessage ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyWithQuotePostRequestBody() - { - 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); - writer.WriteObjectValue("replyMessage", ReplyMessage); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs deleted file mode 100644 index 383675de459..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote -{ - /// - /// Provides operations to call the replyWithQuote method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", 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 ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) - { - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// 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 PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(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 ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs deleted file mode 100644 index b3699394e70..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SetReactionPostRequestBody() - { - 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs deleted file mode 100644 index dd03684c809..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction -{ - /// - /// Provides operations to call the setReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/setReaction", 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 SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/setReaction", rawUrl) - { - } - /// - /// Invoke action setReaction - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action setReaction - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionRequestBuilder(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 SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs deleted file mode 100644 index a2c0e66d03b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete -{ - /// - /// Provides operations to call the softDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/softDelete", 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 SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/softDelete", rawUrl) - { - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.SoftDeleteRequestBuilder(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 SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs deleted file mode 100644 index f470557e58c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete -{ - /// - /// Provides operations to call the undoSoftDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/undoSoftDelete", 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 UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/undoSoftDelete", rawUrl) - { - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(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 UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs deleted file mode 100644 index b88e3c62933..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UnsetReactionPostRequestBody : 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 reactionType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#nullable restore -#else - public string ReactionType - { - get { return BackingStore?.Get("reactionType"); } - set { BackingStore?.Set("reactionType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UnsetReactionPostRequestBody() - { - 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "reactionType", n => { ReactionType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("reactionType", ReactionType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs deleted file mode 100644 index 0f6763bb3f4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction -{ - /// - /// Provides operations to call the unsetReaction method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnsetReactionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/unsetReaction", 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 UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/unsetReaction", rawUrl) - { - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action unsetReaction - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder(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 UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs deleted file mode 100644 index ccd98fe86e7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ /dev/null @@ -1,250 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyWithQuote method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.channel entity. - /// The unique identifier of chatMessage - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("chatMessage%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder(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 MessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages{?%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 MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to messages 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - /// 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 messages 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.Models.ChatMessage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.MessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of all the messages in the channel. A navigation property. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilderGetQueryParameters - { - /// 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 MessagesRequestBuilderGetRequestConfiguration : 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 MessagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs deleted file mode 100644 index e73da0c5ea9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyWithQuotePostRequestBody : 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 messageIds property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? MessageIds - { - get { return BackingStore?.Get?>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#nullable restore -#else - public List MessageIds - { - get { return BackingStore?.Get>("messageIds"); } - set { BackingStore?.Set("messageIds", value); } - } -#endif - /// The replyMessage property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ChatMessage ReplyMessage - { - get { return BackingStore?.Get("replyMessage"); } - set { BackingStore?.Set("replyMessage", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyWithQuotePostRequestBody() - { - 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); - writer.WriteObjectValue("replyMessage", ReplyMessage); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs deleted file mode 100644 index c6f9fe84edf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote -{ - /// - /// Provides operations to call the replyWithQuote method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/replyWithQuote", 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 ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/replyWithQuote", rawUrl) - { - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// 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 PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply with quote to a single chat message or multiple chat messages in a chat. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(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 ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs deleted file mode 100644 index 1facab83a68..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ /dev/null @@ -1,313 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel -{ - /// - /// Provides operations to manage the primaryChannel property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder AllMembers - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the archive method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder Archive - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the completeMigration method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder CompleteMigration - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the doesUserHaveAccess method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder EnabledApps - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder FilesFolder - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder Members - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.MessagesRequestBuilder Messages - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the provisionEmail method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder ProvisionEmail - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the removeEmail method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder RemoveEmail - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder SharedWithTeams - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the startMigration method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder StartMigration - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.TabsRequestBuilder Tabs - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unarchive method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder Unarchive - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder(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 PrimaryChannelRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel{?%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 PrimaryChannelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property primaryChannel 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The general channel for the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property primaryChannel 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.Models.Channel body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Channel body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property primaryChannel 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; - } - /// - /// The general channel for the team. - /// - /// 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 primaryChannel 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.Models.Channel body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Channel body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.PrimaryChannelRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.PrimaryChannelRequestBuilder(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 PrimaryChannelRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The general channel for the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrimaryChannelRequestBuilderGetQueryParameters - { - /// 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 PrimaryChannelRequestBuilderGetRequestConfiguration : 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 PrimaryChannelRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs deleted file mode 100644 index 369cc9b4c44..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail -{ - /// - /// Provides operations to call the provisionEmail method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProvisionEmailRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ProvisionEmailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/provisionEmail", 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 ProvisionEmailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/provisionEmail", rawUrl) - { - } - /// - /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder(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 ProvisionEmailRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs deleted file mode 100644 index dc4c364836c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail -{ - /// - /// Provides operations to call the removeEmail method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RemoveEmailRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RemoveEmailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/removeEmail", 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 RemoveEmailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/removeEmail", rawUrl) - { - } - /// - /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder(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 RemoveEmailRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs deleted file mode 100644 index 74c07d5b5e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.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/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/$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/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/$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.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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.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/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs deleted file mode 100644 index 40cd4a3cfda..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers -{ - /// - /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedMembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. - /// The unique identifier of conversationMember - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("conversationMember%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.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 AllowedMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers{?%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 AllowedMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of team members who have access to the shared channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of team members who have access to the shared channel. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of team members who have access to the shared channel. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AllowedMembersRequestBuilderGetQueryParameters - { - /// 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 AllowedMembersRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs deleted file mode 100644 index 7cb2d1f3ebd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.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/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers/$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/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers/$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.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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.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/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs deleted file mode 100644 index eb1bce8bb12..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item -{ - /// - /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo 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}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers/{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}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// A collection of team members who have access to the shared channel. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of team members who have access to the shared channel. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of team members who have access to the shared channel. - /// - [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 - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs deleted file mode 100644 index ebef5c67f6e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item -{ - /// - /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedWithChannelTeamInfoItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder AllowedMembers - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the team property of the microsoft.graph.teamInfo entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.TeamRequestBuilder Team - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.TeamRequestBuilder(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 SharedWithChannelTeamInfoItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%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 SharedWithChannelTeamInfoItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sharedWithTeams 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of teams with which a channel is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sharedWithTeams 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.Models.SharedWithChannelTeamInfo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.SharedWithChannelTeamInfo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sharedWithTeams 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; - } - /// - /// A collection of teams with which a channel is shared. - /// - /// 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 sharedWithTeams 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.Models.SharedWithChannelTeamInfo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharedWithChannelTeamInfo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder(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 SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of teams with which a channel is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters - { - /// 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 SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration : 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 SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs deleted file mode 100644 index f5f6f5c0e31..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team -{ - /// - /// Provides operations to manage the team property of the microsoft.graph.teamInfo entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/team{?%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 TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/team{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get team 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get team 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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.TeamRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.TeamRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get team from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamRequestBuilderGetQueryParameters - { - /// 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 TeamRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs deleted file mode 100644 index 81d4dff335b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams -{ - /// - /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedWithTeamsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. - /// The unique identifier of sharedWithChannelTeamInfo - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("sharedWithChannelTeamInfo%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder(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 SharedWithTeamsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams{?%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 SharedWithTeamsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/sharedWithTeams{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of teams with which a channel is shared. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to sharedWithTeams 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.Models.SharedWithChannelTeamInfo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.SharedWithChannelTeamInfo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of teams with which a channel is shared. - /// - /// 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 sharedWithTeams 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.Models.SharedWithChannelTeamInfo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharedWithChannelTeamInfo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of teams with which a channel is shared. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SharedWithTeamsRequestBuilderGetQueryParameters - { - /// 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 SharedWithTeamsRequestBuilderGetRequestConfiguration : 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 SharedWithTeamsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs deleted file mode 100644 index 86f0b378627..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#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.Me.JoinedTeams.Item.PrimaryChannel.StartMigration -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property - public DateTimeOffset? ConversationCreationDateTime - { - get { return BackingStore?.Get("conversationCreationDateTime"); } - set { BackingStore?.Set("conversationCreationDateTime", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public StartMigrationPostRequestBody() - { - 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.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs deleted file mode 100644 index ee1e8b1faac..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.StartMigration -{ - /// - /// Provides operations to call the startMigration method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class StartMigrationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/startMigration", 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 StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/startMigration", rawUrl) - { - } - /// - /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs deleted file mode 100644 index 219215641a5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Tabs.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/joinedTeams/{team%2Did}/primaryChannel/tabs/$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/joinedTeams/{team%2Did}/primaryChannel/tabs/$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.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.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.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/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs deleted file mode 100644 index 6e394707c52..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp -{ - /// - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/tabs/{teamsTab%2Did}/teamsApp{?%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 TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/tabs/{teamsTab%2Did}/teamsApp{?%24expand,%24select}", rawUrl) - { - } - /// - /// The application that is linked to the tab. This can't be changed after tab creation. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The application that is linked to the tab. This can't be changed after tab creation. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.TeamsAppRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.TeamsAppRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The application that is linked to the tab. This can't be changed after tab creation. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilderGetQueryParameters - { - /// 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 TeamsAppRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs deleted file mode 100644 index 355f72ad8d0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item -{ - /// - /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsTabItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.TeamsAppRequestBuilder TeamsApp - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.TeamsAppRequestBuilder(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 TeamsTabItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/tabs/{teamsTab%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 TeamsTabItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/tabs/{teamsTab%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property tabs 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property tabs 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; - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - /// 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 tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder(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 TeamsTabItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsTabItemRequestBuilderGetQueryParameters - { - /// 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 TeamsTabItemRequestBuilderGetRequestConfiguration : 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 TeamsTabItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs deleted file mode 100644 index cf01e897a3d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Tabs -{ - /// - /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TabsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. - /// The unique identifier of teamsTab - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamsTab%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder(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 TabsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/tabs{?%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 TabsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/tabs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - /// 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 tabs 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.Models.TeamsTab body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsTab body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.TabsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.TabsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// A collection of all the tabs in the channel. A navigation property. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TabsRequestBuilderGetQueryParameters - { - /// 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 TabsRequestBuilderGetRequestConfiguration : 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 TabsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.cs deleted file mode 100644 index 9b2188c13c8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.Unarchive -{ - /// - /// Provides operations to call the unarchive method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnarchiveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnarchiveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/unarchive", 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 UnarchiveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/unarchive", rawUrl) - { - } - /// - /// Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. - /// - /// 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.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder(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 UnarchiveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs deleted file mode 100644 index 3f1cff89125..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.DayNotes.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/joinedTeams/{team%2Did}/schedule/dayNotes/$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/joinedTeams/{team%2Did}/schedule/dayNotes/$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.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.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.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/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs deleted file mode 100644 index b3e52f1483c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.DayNotes -{ - /// - /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DayNotesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. - /// The unique identifier of dayNote - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("dayNote%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes{?%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 DayNotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The day notes in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The day notes in the schedule. - /// - /// 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 dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The day notes in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DayNotesRequestBuilderGetQueryParameters - { - /// 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 DayNotesRequestBuilderGetRequestConfiguration : 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 DayNotesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs deleted file mode 100644 index d5c0ce6d6ad..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.DayNotes.Item -{ - /// - /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DayNoteItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DayNoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%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 DayNoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property dayNotes 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The day notes in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property dayNotes 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; - } - /// - /// The day notes in the schedule. - /// - /// 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 dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The day notes in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DayNoteItemRequestBuilderGetQueryParameters - { - /// 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 DayNoteItemRequestBuilderGetRequestConfiguration : 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 DayNoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs deleted file mode 100644 index b655731ec82..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.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/joinedTeams/{team%2Did}/schedule/offerShiftRequests/$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/joinedTeams/{team%2Did}/schedule/offerShiftRequests/$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.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.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.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/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs deleted file mode 100644 index 699e64ec77a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item -{ - /// - /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OfferShiftRequestItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OfferShiftRequestItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/offerShiftRequests/{offerShiftRequest%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 OfferShiftRequestItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/offerShiftRequests/{offerShiftRequest%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property offerShiftRequests 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The offer requests for shifts in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property offerShiftRequests 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.Models.OfferShiftRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OfferShiftRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property offerShiftRequests 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; - } - /// - /// The offer requests for shifts in the schedule. - /// - /// 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 offerShiftRequests 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.Models.OfferShiftRequest body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OfferShiftRequest body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder(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 OfferShiftRequestItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The offer requests for shifts in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OfferShiftRequestItemRequestBuilderGetQueryParameters - { - /// 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 OfferShiftRequestItemRequestBuilderGetRequestConfiguration : 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 OfferShiftRequestItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs deleted file mode 100644 index 0fc85ed1c56..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.OfferShiftRequests -{ - /// - /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OfferShiftRequestsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. - /// The unique identifier of offerShiftRequest - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("offerShiftRequest%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder(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 OfferShiftRequestsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/offerShiftRequests{?%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 OfferShiftRequestsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/offerShiftRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The offer requests for shifts in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OfferShiftRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to offerShiftRequests 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.Models.OfferShiftRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OfferShiftRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The offer requests for shifts in the schedule. - /// - /// 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 offerShiftRequests 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.Models.OfferShiftRequest body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OfferShiftRequest body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The offer requests for shifts in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OfferShiftRequestsRequestBuilderGetQueryParameters - { - /// 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 OfferShiftRequestsRequestBuilderGetRequestConfiguration : 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 OfferShiftRequestsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs deleted file mode 100644 index c57b12c2f69..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.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/joinedTeams/{team%2Did}/schedule/openShiftChangeRequests/$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/joinedTeams/{team%2Did}/schedule/openShiftChangeRequests/$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.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.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.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/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs deleted file mode 100644 index bc5782fe92c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item -{ - /// - /// Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OpenShiftChangeRequestItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OpenShiftChangeRequestItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/openShiftChangeRequests/{openShiftChangeRequest%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 OpenShiftChangeRequestItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/openShiftChangeRequests/{openShiftChangeRequest%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property openShiftChangeRequests 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The open shift requests in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property openShiftChangeRequests 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.Models.OpenShiftChangeRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OpenShiftChangeRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property openShiftChangeRequests 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; - } - /// - /// The open shift requests in the schedule. - /// - /// 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 openShiftChangeRequests 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.Models.OpenShiftChangeRequest body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OpenShiftChangeRequest body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder(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 OpenShiftChangeRequestItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The open shift requests in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OpenShiftChangeRequestItemRequestBuilderGetQueryParameters - { - /// 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 OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration : 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 OpenShiftChangeRequestItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs deleted file mode 100644 index a5e29961461..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests -{ - /// - /// Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OpenShiftChangeRequestsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. - /// The unique identifier of openShiftChangeRequest - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("openShiftChangeRequest%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder(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 OpenShiftChangeRequestsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/openShiftChangeRequests{?%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 OpenShiftChangeRequestsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/openShiftChangeRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The open shift requests in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OpenShiftChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to openShiftChangeRequests 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.Models.OpenShiftChangeRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OpenShiftChangeRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The open shift requests in the schedule. - /// - /// 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 openShiftChangeRequests 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.Models.OpenShiftChangeRequest body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OpenShiftChangeRequest body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.OpenShiftChangeRequestsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.OpenShiftChangeRequestsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The open shift requests in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OpenShiftChangeRequestsRequestBuilderGetQueryParameters - { - /// 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 OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration : 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 OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs deleted file mode 100644 index c82073a1264..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.OpenShifts.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/joinedTeams/{team%2Did}/schedule/openShifts/$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/joinedTeams/{team%2Did}/schedule/openShifts/$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.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.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.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/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs deleted file mode 100644 index 57cb197eb9d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.OpenShifts.Item -{ - /// - /// Provides operations to manage the openShifts property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OpenShiftItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OpenShiftItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/openShifts/{openShift%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 OpenShiftItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/openShifts/{openShift%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property openShifts 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The set of open shifts in a scheduling group in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property openShifts 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.Models.OpenShift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OpenShift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property openShifts 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; - } - /// - /// The set of open shifts in a scheduling group in the schedule. - /// - /// 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 openShifts 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.Models.OpenShift body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OpenShift body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder(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 OpenShiftItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The set of open shifts in a scheduling group in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OpenShiftItemRequestBuilderGetQueryParameters - { - /// 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 OpenShiftItemRequestBuilderGetRequestConfiguration : 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 OpenShiftItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs deleted file mode 100644 index 20e12c75ae2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.OpenShifts -{ - /// - /// Provides operations to manage the openShifts property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OpenShiftsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the openShifts property of the microsoft.graph.schedule entity. - /// The unique identifier of openShift - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("openShift%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder(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 OpenShiftsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/openShifts{?%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 OpenShiftsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/openShifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The set of open shifts in a scheduling group in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OpenShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to openShifts 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.Models.OpenShift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OpenShift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The set of open shifts in a scheduling group in the schedule. - /// - /// 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 openShifts 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.Models.OpenShift body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OpenShift body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.OpenShiftsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.OpenShiftsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The set of open shifts in a scheduling group in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OpenShiftsRequestBuilderGetQueryParameters - { - /// 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 OpenShiftsRequestBuilderGetRequestConfiguration : 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 OpenShiftsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs deleted file mode 100644 index db69eb46ce1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs +++ /dev/null @@ -1,301 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule -{ - /// - /// Provides operations to manage the schedule property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ScheduleRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder DayNotes - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder OfferShiftRequests - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.OpenShiftChangeRequestsRequestBuilder OpenShiftChangeRequests - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.OpenShiftChangeRequestsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the openShifts property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.OpenShiftsRequestBuilder OpenShifts - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.OpenShiftsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.SchedulingGroupsRequestBuilder SchedulingGroups - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.SchedulingGroupsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the share method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder Share - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the shifts property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder Shifts - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder SwapShiftsChangeRequests - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder TimeCards - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder TimeOffReasons - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder TimeOffRequests - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the timesOff property of the microsoft.graph.schedule entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder TimesOff - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder(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 ScheduleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule{?%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 ScheduleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property schedule 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The schedule of shifts for this team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property schedule 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 PutAsync(global::Microsoft.Graph.Models.Schedule body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(global::Microsoft.Graph.Models.Schedule body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property schedule 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; - } - /// - /// The schedule of shifts for this team. - /// - /// 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 schedule 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 ToPutRequestInformation(global::Microsoft.Graph.Models.Schedule body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.Schedule body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, 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.Me.JoinedTeams.Item.Schedule.ScheduleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.ScheduleRequestBuilder(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 ScheduleRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The schedule of shifts for this team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ScheduleRequestBuilderGetQueryParameters - { - /// 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 ScheduleRequestBuilderGetRequestConfiguration : 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 ScheduleRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs deleted file mode 100644 index 745ba5e03ac..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.SchedulingGroups.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/joinedTeams/{team%2Did}/schedule/schedulingGroups/$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/joinedTeams/{team%2Did}/schedule/schedulingGroups/$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.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.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.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/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs deleted file mode 100644 index 049d80786b5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item -{ - /// - /// Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SchedulingGroupItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SchedulingGroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/schedulingGroups/{schedulingGroup%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 SchedulingGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property schedulingGroups 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The logical grouping of users in the schedule (usually by role). - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property schedulingGroups 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.Models.SchedulingGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.SchedulingGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property schedulingGroups 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; - } - /// - /// The logical grouping of users in the schedule (usually by role). - /// - /// 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 schedulingGroups 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.Models.SchedulingGroup body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SchedulingGroup body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder(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 SchedulingGroupItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The logical grouping of users in the schedule (usually by role). - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SchedulingGroupItemRequestBuilderGetQueryParameters - { - /// 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 SchedulingGroupItemRequestBuilderGetRequestConfiguration : 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 SchedulingGroupItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs deleted file mode 100644 index 78385e49c19..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.SchedulingGroups -{ - /// - /// Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SchedulingGroupsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. - /// The unique identifier of schedulingGroup - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("schedulingGroup%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder(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 SchedulingGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/schedulingGroups{?%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 SchedulingGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/schedulingGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The logical grouping of users in the schedule (usually by role). - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SchedulingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to schedulingGroups 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.Models.SchedulingGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.SchedulingGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The logical grouping of users in the schedule (usually by role). - /// - /// 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 schedulingGroups 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.Models.SchedulingGroup body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SchedulingGroup body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.SchedulingGroupsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.SchedulingGroupsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The logical grouping of users in the schedule (usually by role). - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SchedulingGroupsRequestBuilderGetQueryParameters - { - /// 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 SchedulingGroupsRequestBuilderGetRequestConfiguration : 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 SchedulingGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs deleted file mode 100644 index 1650e516481..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -#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.Me.JoinedTeams.Item.Schedule.Share -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SharePostRequestBody : 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 endDateTime property - public DateTimeOffset? EndDateTime - { - get { return BackingStore?.Get("endDateTime"); } - set { BackingStore?.Set("endDateTime", value); } - } - /// The notifyTeam property - public bool? NotifyTeam - { - get { return BackingStore?.Get("notifyTeam"); } - set { BackingStore?.Set("notifyTeam", value); } - } - /// The startDateTime property - public DateTimeOffset? StartDateTime - { - get { return BackingStore?.Get("startDateTime"); } - set { BackingStore?.Set("startDateTime", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public SharePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - NotifyTeam = false; - } - /// - /// 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.Me.JoinedTeams.Item.Schedule.Share.SharePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.SharePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - { "notifyTeam", n => { NotifyTeam = n.GetBoolValue(); } }, - { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime); - writer.WriteBoolValue("notifyTeam", NotifyTeam); - writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs deleted file mode 100644 index 5c51def8edf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.Share -{ - /// - /// Provides operations to call the share method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ShareRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ShareRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/share", 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 ShareRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/share", rawUrl) - { - } - /// - /// Share a schedule time range with schedule members. This action makes the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.SharePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.SharePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Share a schedule time range with schedule members. This action makes the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. - /// - /// 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.Me.JoinedTeams.Item.Schedule.Share.SharePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.SharePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder(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 ShareRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs deleted file mode 100644 index 8496b697ffc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.Shifts.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/joinedTeams/{team%2Did}/schedule/shifts/$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/joinedTeams/{team%2Did}/schedule/shifts/$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.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.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.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/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs deleted file mode 100644 index dbb6f17c2ba..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.Shifts.Item -{ - /// - /// Provides operations to manage the shifts property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ShiftItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ShiftItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/shifts/{shift%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 ShiftItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/shifts/{shift%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property shifts 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The shifts in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property shifts 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.Models.Shift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Shift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property shifts 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; - } - /// - /// The shifts in the schedule. - /// - /// 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 shifts 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.Models.Shift body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Shift body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder(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 ShiftItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The shifts in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ShiftItemRequestBuilderGetQueryParameters - { - /// 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 ShiftItemRequestBuilderGetRequestConfiguration : 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 ShiftItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs deleted file mode 100644 index 9471e3c300c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.Shifts -{ - /// - /// Provides operations to manage the shifts property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ShiftsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the shifts property of the microsoft.graph.schedule entity. - /// The unique identifier of shift - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("shift%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder(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 ShiftsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/shifts{?%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 ShiftsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/shifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The shifts in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to shifts 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.Models.Shift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Shift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The shifts in the schedule. - /// - /// 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 shifts 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.Models.Shift body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Shift body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The shifts in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ShiftsRequestBuilderGetQueryParameters - { - /// 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 ShiftsRequestBuilderGetRequestConfiguration : 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 ShiftsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs deleted file mode 100644 index a38880d7b9e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.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/joinedTeams/{team%2Did}/schedule/swapShiftsChangeRequests/$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/joinedTeams/{team%2Did}/schedule/swapShiftsChangeRequests/$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.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.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.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/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs deleted file mode 100644 index 40166deec59..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item -{ - /// - /// Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SwapShiftsChangeRequestItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SwapShiftsChangeRequestItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequest%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 SwapShiftsChangeRequestItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequest%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property swapShiftsChangeRequests 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The swap requests for shifts in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property swapShiftsChangeRequests 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.Models.SwapShiftsChangeRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.SwapShiftsChangeRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property swapShiftsChangeRequests 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; - } - /// - /// The swap requests for shifts in the schedule. - /// - /// 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 swapShiftsChangeRequests 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.Models.SwapShiftsChangeRequest body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SwapShiftsChangeRequest body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder(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 SwapShiftsChangeRequestItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The swap requests for shifts in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters - { - /// 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 SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration : 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 SwapShiftsChangeRequestItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs deleted file mode 100644 index 230ea242e13..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests -{ - /// - /// Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SwapShiftsChangeRequestsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. - /// The unique identifier of swapShiftsChangeRequest - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("swapShiftsChangeRequest%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder(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 SwapShiftsChangeRequestsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/swapShiftsChangeRequests{?%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 SwapShiftsChangeRequestsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/swapShiftsChangeRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The swap requests for shifts in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SwapShiftsChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to swapShiftsChangeRequests 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.Models.SwapShiftsChangeRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.SwapShiftsChangeRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The swap requests for shifts in the schedule. - /// - /// 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 swapShiftsChangeRequests 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.Models.SwapShiftsChangeRequest body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SwapShiftsChangeRequest body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The swap requests for shifts in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SwapShiftsChangeRequestsRequestBuilderGetQueryParameters - { - /// 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 SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration : 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 SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs deleted file mode 100644 index 6719c343a86..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ClockInPostRequestBody : 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 isAtApprovedLocation property - public bool? IsAtApprovedLocation - { - get { return BackingStore?.Get("isAtApprovedLocation"); } - set { BackingStore?.Set("isAtApprovedLocation", value); } - } - /// The notes property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ItemBody? Notes - { - get { return BackingStore?.Get("notes"); } - set { BackingStore?.Set("notes", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ItemBody Notes - { - get { return BackingStore?.Get("notes"); } - set { BackingStore?.Set("notes", value); } - } -#endif - /// The onBehalfOfUserId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OnBehalfOfUserId - { - get { return BackingStore?.Get("onBehalfOfUserId"); } - set { BackingStore?.Set("onBehalfOfUserId", value); } - } -#nullable restore -#else - public string OnBehalfOfUserId - { - get { return BackingStore?.Get("onBehalfOfUserId"); } - set { BackingStore?.Set("onBehalfOfUserId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ClockInPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - IsAtApprovedLocation = false; - } - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, - { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, - { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); - writer.WriteObjectValue("notes", Notes); - writer.WriteStringValue("onBehalfOfUserId", OnBehalfOfUserId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs deleted file mode 100644 index 73b09b465bb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn -{ - /// - /// Provides operations to call the clockIn method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ClockInRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ClockInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", 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 ClockInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", rawUrl) - { - } - /// - /// Clock in to start a timeCard. - /// 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 PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Clock in to start a timeCard. - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(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 ClockInRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs deleted file mode 100644 index 54846eb65bf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.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/joinedTeams/{team%2Did}/schedule/timeCards/$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/joinedTeams/{team%2Did}/schedule/timeCards/$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.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.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.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/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs deleted file mode 100644 index 490b61b0e5e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs +++ /dev/null @@ -1,91 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ClockOutPostRequestBody : 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 isAtApprovedLocation property - public bool? IsAtApprovedLocation - { - get { return BackingStore?.Get("isAtApprovedLocation"); } - set { BackingStore?.Set("isAtApprovedLocation", value); } - } - /// The notes property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ItemBody? Notes - { - get { return BackingStore?.Get("notes"); } - set { BackingStore?.Set("notes", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ItemBody Notes - { - get { return BackingStore?.Get("notes"); } - set { BackingStore?.Set("notes", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ClockOutPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - IsAtApprovedLocation = false; - } - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, - { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); - writer.WriteObjectValue("notes", Notes); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs deleted file mode 100644 index c06f3d98cff..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs +++ /dev/null @@ -1,103 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut -{ - /// - /// Provides operations to call the clockOut method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ClockOutRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ClockOutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", 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 ClockOutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", rawUrl) - { - } - /// - /// Invoke action clockOut - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action clockOut - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(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 ClockOutRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs deleted file mode 100644 index 67d75ac3a64..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm -{ - /// - /// Provides operations to call the confirm method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfirmRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ConfirmRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", 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 ConfirmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", rawUrl) - { - } - /// - /// Confirm a timeCard. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Confirm a timeCard. - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(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 ConfirmRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs deleted file mode 100644 index 0a3e8d0355e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs +++ /dev/null @@ -1,91 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class EndBreakPostRequestBody : 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 isAtApprovedLocation property - public bool? IsAtApprovedLocation - { - get { return BackingStore?.Get("isAtApprovedLocation"); } - set { BackingStore?.Set("isAtApprovedLocation", value); } - } - /// The notes property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ItemBody? Notes - { - get { return BackingStore?.Get("notes"); } - set { BackingStore?.Set("notes", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ItemBody Notes - { - get { return BackingStore?.Get("notes"); } - set { BackingStore?.Set("notes", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public EndBreakPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - IsAtApprovedLocation = false; - } - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, - { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); - writer.WriteObjectValue("notes", Notes); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs deleted file mode 100644 index 2a179e62941..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs +++ /dev/null @@ -1,103 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak -{ - /// - /// Provides operations to call the endBreak method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EndBreakRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public EndBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", 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 EndBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", rawUrl) - { - } - /// - /// Invoke action endBreak - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action endBreak - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(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 EndBreakRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs deleted file mode 100644 index 69c774d828e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs +++ /dev/null @@ -1,91 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class StartBreakPostRequestBody : 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 isAtApprovedLocation property - public bool? IsAtApprovedLocation - { - get { return BackingStore?.Get("isAtApprovedLocation"); } - set { BackingStore?.Set("isAtApprovedLocation", value); } - } - /// The notes property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ItemBody? Notes - { - get { return BackingStore?.Get("notes"); } - set { BackingStore?.Set("notes", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ItemBody Notes - { - get { return BackingStore?.Get("notes"); } - set { BackingStore?.Set("notes", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public StartBreakPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - IsAtApprovedLocation = false; - } - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, - { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); - writer.WriteObjectValue("notes", Notes); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs deleted file mode 100644 index 00c4328257d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs +++ /dev/null @@ -1,103 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak -{ - /// - /// Provides operations to call the startBreak method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class StartBreakRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public StartBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", 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 StartBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", rawUrl) - { - } - /// - /// Invoke action startBreak - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action startBreak - /// - /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 StartBreakRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs deleted file mode 100644 index 54bc1c3fe84..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs +++ /dev/null @@ -1,253 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item -{ - /// - /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeCardItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the clockOut method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder ClockOut - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the confirm method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder Confirm - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the endBreak method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the startBreak method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder StartBreak - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 TimeCardItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%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 TimeCardItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property timeCards 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time cards in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property timeCards 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; - } - /// - /// The time cards in the schedule. - /// - /// 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 timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The time cards in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeCardItemRequestBuilderGetQueryParameters - { - /// 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 TimeCardItemRequestBuilderGetRequestConfiguration : 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 TimeCardItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs deleted file mode 100644 index c061058d40b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards -{ - /// - /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeCardsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the clockIn method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder ClockIn - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. - /// The unique identifier of timeCard - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("timeCard%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards{?%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 TimeCardsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The time cards in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCardCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time cards in the schedule. - /// - /// 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 timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The time cards in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeCardsRequestBuilderGetQueryParameters - { - /// 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 TimeCardsRequestBuilderGetRequestConfiguration : 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 TimeCardsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs deleted file mode 100644 index 754c23c4b07..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeOffReasons.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/joinedTeams/{team%2Did}/schedule/timeOffReasons/$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/joinedTeams/{team%2Did}/schedule/timeOffReasons/$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.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.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.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/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs deleted file mode 100644 index 109ba3b1cb3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item -{ - /// - /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffReasonItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TimeOffReasonItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeOffReasons/{timeOffReason%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 TimeOffReasonItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeOffReasons/{timeOffReason%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property timeOffReasons 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The set of reasons for a time off in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property timeOffReasons 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.Models.TimeOffReason body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TimeOffReason body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property timeOffReasons 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; - } - /// - /// The set of reasons for a time off in the schedule. - /// - /// 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 timeOffReasons 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.Models.TimeOffReason body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeOffReason body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder(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 TimeOffReasonItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The set of reasons for a time off in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffReasonItemRequestBuilderGetQueryParameters - { - /// 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 TimeOffReasonItemRequestBuilderGetRequestConfiguration : 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 TimeOffReasonItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs deleted file mode 100644 index 6eae7bcf00b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeOffReasons -{ - /// - /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffReasonsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. - /// The unique identifier of timeOffReason - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("timeOffReason%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder(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 TimeOffReasonsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeOffReasons{?%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 TimeOffReasonsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeOffReasons{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The set of reasons for a time off in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOffReasonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to timeOffReasons 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.Models.TimeOffReason body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TimeOffReason body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The set of reasons for a time off in the schedule. - /// - /// 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 timeOffReasons 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.Models.TimeOffReason body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeOffReason body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The set of reasons for a time off in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffReasonsRequestBuilderGetQueryParameters - { - /// 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 TimeOffReasonsRequestBuilderGetRequestConfiguration : 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 TimeOffReasonsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs deleted file mode 100644 index 8eba8913a6a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeOffRequests.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/joinedTeams/{team%2Did}/schedule/timeOffRequests/$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/joinedTeams/{team%2Did}/schedule/timeOffRequests/$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.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.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.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/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs deleted file mode 100644 index 6a3e40416ec..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item -{ - /// - /// Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffRequestItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TimeOffRequestItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeOffRequests/{timeOffRequest%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 TimeOffRequestItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property timeOffRequests 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time off requests in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property timeOffRequests 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.Models.TimeOffRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TimeOffRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property timeOffRequests 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; - } - /// - /// The time off requests in the schedule. - /// - /// 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 timeOffRequests 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.Models.TimeOffRequest body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeOffRequest body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder(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 TimeOffRequestItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The time off requests in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffRequestItemRequestBuilderGetQueryParameters - { - /// 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 TimeOffRequestItemRequestBuilderGetRequestConfiguration : 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 TimeOffRequestItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs deleted file mode 100644 index f4ee0495a8b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeOffRequests -{ - /// - /// Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffRequestsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. - /// The unique identifier of timeOffRequest - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("timeOffRequest%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder(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 TimeOffRequestsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeOffRequests{?%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 TimeOffRequestsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeOffRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The time off requests in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to timeOffRequests 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.Models.TimeOffRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TimeOffRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time off requests in the schedule. - /// - /// 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 timeOffRequests 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.Models.TimeOffRequest body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeOffRequest body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The time off requests in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffRequestsRequestBuilderGetQueryParameters - { - /// 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 TimeOffRequestsRequestBuilderGetRequestConfiguration : 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 TimeOffRequestsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs deleted file mode 100644 index 81a4b9b1a80..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimesOff.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/joinedTeams/{team%2Did}/schedule/timesOff/$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/joinedTeams/{team%2Did}/schedule/timesOff/$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.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.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.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/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs deleted file mode 100644 index c5500537c4a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimesOff.Item -{ - /// - /// Provides operations to manage the timesOff property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TimeOffItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timesOff/{timeOff%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 TimeOffItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timesOff/{timeOff%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property timesOff 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The instances of times off in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property timesOff 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.Models.TimeOff body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TimeOff body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property timesOff 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; - } - /// - /// The instances of times off in the schedule. - /// - /// 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 timesOff 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.Models.TimeOff body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeOff body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder(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 TimeOffItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The instances of times off in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimeOffItemRequestBuilderGetQueryParameters - { - /// 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 TimeOffItemRequestBuilderGetRequestConfiguration : 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 TimeOffItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs deleted file mode 100644 index 82448d88549..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimesOff -{ - /// - /// Provides operations to manage the timesOff property of the microsoft.graph.schedule entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimesOffRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the timesOff property of the microsoft.graph.schedule entity. - /// The unique identifier of timeOff - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("timeOff%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder(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 TimesOffRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timesOff{?%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 TimesOffRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timesOff{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The instances of times off in the schedule. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOffCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to timesOff 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.Models.TimeOff body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TimeOff body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The instances of times off in the schedule. - /// - /// 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 timesOff 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.Models.TimeOff body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeOff body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The instances of times off in the schedule. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TimesOffRequestBuilderGetQueryParameters - { - /// 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 TimesOffRequestBuilderGetRequestConfiguration : 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 TimesOffRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs deleted file mode 100644 index b7626a92103..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ /dev/null @@ -1,198 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.SendActivityNotification -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SendActivityNotificationPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// The activityType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ActivityType - { - get { return BackingStore?.Get("activityType"); } - set { BackingStore?.Set("activityType", value); } - } -#nullable restore -#else - public string ActivityType - { - get { return BackingStore?.Get("activityType"); } - set { BackingStore?.Set("activityType", value); } - } -#endif - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The chainId property - public long? ChainId - { - get { return BackingStore?.Get("chainId"); } - set { BackingStore?.Set("chainId", value); } - } - /// The iconId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? IconId - { - get { return BackingStore?.Get("iconId"); } - set { BackingStore?.Set("iconId", value); } - } -#nullable restore -#else - public string IconId - { - get { return BackingStore?.Get("iconId"); } - set { BackingStore?.Set("iconId", value); } - } -#endif - /// The previewText property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ItemBody? PreviewText - { - get { return BackingStore?.Get("previewText"); } - set { BackingStore?.Set("previewText", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ItemBody PreviewText - { - get { return BackingStore?.Get("previewText"); } - set { BackingStore?.Set("previewText", value); } - } -#endif - /// The recipient property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkNotificationRecipient? Recipient - { - get { return BackingStore?.Get("recipient"); } - set { BackingStore?.Set("recipient", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkNotificationRecipient Recipient - { - get { return BackingStore?.Get("recipient"); } - set { BackingStore?.Set("recipient", value); } - } -#endif - /// The teamsAppId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? TeamsAppId - { - get { return BackingStore?.Get("teamsAppId"); } - set { BackingStore?.Set("teamsAppId", value); } - } -#nullable restore -#else - public string TeamsAppId - { - get { return BackingStore?.Get("teamsAppId"); } - set { BackingStore?.Set("teamsAppId", value); } - } -#endif - /// The templateParameters property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? TemplateParameters - { - get { return BackingStore?.Get?>("templateParameters"); } - set { BackingStore?.Set("templateParameters", value); } - } -#nullable restore -#else - public List TemplateParameters - { - get { return BackingStore?.Get>("templateParameters"); } - set { BackingStore?.Set("templateParameters", value); } - } -#endif - /// The topic property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkActivityTopic? Topic - { - get { return BackingStore?.Get("topic"); } - set { BackingStore?.Set("topic", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkActivityTopic Topic - { - get { return BackingStore?.Get("topic"); } - set { BackingStore?.Set("topic", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SendActivityNotificationPostRequestBody() - { - 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.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "activityType", n => { ActivityType = n.GetStringValue(); } }, - { "chainId", n => { ChainId = n.GetLongValue(); } }, - { "iconId", n => { IconId = n.GetStringValue(); } }, - { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, - { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, - { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, - { "templateParameters", n => { TemplateParameters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.KeyValuePair.CreateFromDiscriminatorValue)?.AsList(); } }, - { "topic", n => { Topic = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkActivityTopic.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("activityType", ActivityType); - writer.WriteLongValue("chainId", ChainId); - writer.WriteStringValue("iconId", IconId); - writer.WriteObjectValue("previewText", PreviewText); - writer.WriteObjectValue("recipient", Recipient); - writer.WriteStringValue("teamsAppId", TeamsAppId); - writer.WriteCollectionOfObjectValues("templateParameters", TemplateParameters); - writer.WriteObjectValue("topic", Topic); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs deleted file mode 100644 index 298d4f2fada..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.SendActivityNotification -{ - /// - /// Provides operations to call the sendActivityNotification method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SendActivityNotificationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SendActivityNotificationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/sendActivityNotification", 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 SendActivityNotificationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/sendActivityNotification", rawUrl) - { - } - /// - /// Send an activity feed notification in the scope of a team. For more information about sending notifications and the requirements for doing so, seesending Teams activity notifications. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Send an activity feed notification in the scope of a team. For more information about sending notifications and the requirements for doing so, seesending Teams activity notifications. - /// - /// 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.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationRequestBuilder(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 SendActivityNotificationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs deleted file mode 100644 index 357a257824d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Tags.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/joinedTeams/{team%2Did}/tags/$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/joinedTeams/{team%2Did}/tags/$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.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.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.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/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs deleted file mode 100644 index 323a6ab2999..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Tags.Item.Members.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/joinedTeams/{team%2Did}/tags/{teamworkTag%2Did}/members/$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/joinedTeams/{team%2Did}/tags/{teamworkTag%2Did}/members/$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.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.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.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/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs deleted file mode 100644 index cab0fc7ab81..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Tags.Item.Members.Item -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.teamworkTag entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamworkTagMemberItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamworkTagMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/tags/{teamworkTag%2Did}/members/{teamworkTagMember%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 TeamworkTagMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/tags/{teamworkTag%2Did}/members/{teamworkTagMember%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property members 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Users assigned to the tag. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property members 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.Models.TeamworkTagMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TeamworkTagMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property members 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; - } - /// - /// Users assigned to the tag. - /// - /// 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 members 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.Models.TeamworkTagMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamworkTagMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder(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 TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Users assigned to the tag. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamworkTagMemberItemRequestBuilderGetQueryParameters - { - /// 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 TeamworkTagMemberItemRequestBuilderGetRequestConfiguration : 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 TeamworkTagMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs deleted file mode 100644 index 2b986eb8404..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Tags.Item.Members -{ - /// - /// Provides operations to manage the members property of the microsoft.graph.teamworkTag entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.teamworkTag entity. - /// The unique identifier of teamworkTagMember - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamworkTagMember%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder(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 MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/tags/{teamworkTag%2Did}/members{?%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 MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/tags/{teamworkTag%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Users assigned to the tag. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamworkTagMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to members 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.Models.TeamworkTagMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TeamworkTagMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Users assigned to the tag. - /// - /// 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 members 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.Models.TeamworkTagMember body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamworkTagMember body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Users assigned to the tag. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MembersRequestBuilderGetQueryParameters - { - /// 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 MembersRequestBuilderGetRequestConfiguration : 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 MembersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs deleted file mode 100644 index d522a803860..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Tags.Item -{ - /// - /// Provides operations to manage the tags property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamworkTagItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the members property of the microsoft.graph.teamworkTag entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.MembersRequestBuilder Members - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.MembersRequestBuilder(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 TeamworkTagItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/tags/{teamworkTag%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 TeamworkTagItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/tags/{teamworkTag%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property tags 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The tags associated with the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property tags 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.Models.TeamworkTag body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TeamworkTag body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property tags 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; - } - /// - /// The tags associated with the team. - /// - /// 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 tags 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.Models.TeamworkTag body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamworkTag body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder(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 TeamworkTagItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The tags associated with the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamworkTagItemRequestBuilderGetQueryParameters - { - /// 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 TeamworkTagItemRequestBuilderGetRequestConfiguration : 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 TeamworkTagItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/TagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/TagsRequestBuilder.cs deleted file mode 100644 index 46bdb222563..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/TagsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count; -using Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Tags -{ - /// - /// Provides operations to manage the tags property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TagsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tags property of the microsoft.graph.team entity. - /// The unique identifier of teamworkTag - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("teamworkTag%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder(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 TagsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/tags{?%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 TagsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The tags associated with the team. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamworkTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to tags 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.Models.TeamworkTag body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TeamworkTag body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The tags associated with the team. - /// - /// 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 tags 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.Models.TeamworkTag body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamworkTag body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.TagsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.TagsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The tags associated with the team. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TagsRequestBuilderGetQueryParameters - { - /// 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 TagsRequestBuilderGetRequestConfiguration : 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 TagsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/TeamItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/TeamItemRequestBuilder.cs deleted file mode 100644 index c7138648229..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/TeamItemRequestBuilder.cs +++ /dev/null @@ -1,337 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Item.AllChannels; -using Microsoft.Graph.Me.JoinedTeams.Item.Archive; -using Microsoft.Graph.Me.JoinedTeams.Item.Channels; -using Microsoft.Graph.Me.JoinedTeams.Item.Clone; -using Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration; -using Microsoft.Graph.Me.JoinedTeams.Item.Group; -using Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels; -using Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps; -using Microsoft.Graph.Me.JoinedTeams.Item.Members; -using Microsoft.Graph.Me.JoinedTeams.Item.Operations; -using Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants; -using Microsoft.Graph.Me.JoinedTeams.Item.Photo; -using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel; -using Microsoft.Graph.Me.JoinedTeams.Item.Schedule; -using Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification; -using Microsoft.Graph.Me.JoinedTeams.Item.Tags; -using Microsoft.Graph.Me.JoinedTeams.Item.Template; -using Microsoft.Graph.Me.JoinedTeams.Item.Unarchive; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item -{ - /// - /// Provides operations to manage the joinedTeams property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the allChannels property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.AllChannelsRequestBuilder AllChannels - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.AllChannelsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the archive method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchiveRequestBuilder Archive - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchiveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the channels property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.ChannelsRequestBuilder Channels - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.ChannelsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the clone method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Clone.CloneRequestBuilder Clone - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Clone.CloneRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the completeMigration method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.CompleteMigrationRequestBuilder CompleteMigration - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.CompleteMigrationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the group property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Group.GroupRequestBuilder Group - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Group.GroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the incomingChannels property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.IncomingChannelsRequestBuilder IncomingChannels - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.IncomingChannelsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the installedApps property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.InstalledAppsRequestBuilder InstalledApps - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.InstalledAppsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the members property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.MembersRequestBuilder Members - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.MembersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the operations property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.OperationsRequestBuilder Operations - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the permissionGrants property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.PermissionGrantsRequestBuilder PermissionGrants - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.PermissionGrantsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the photo property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Photo.PhotoRequestBuilder Photo - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Photo.PhotoRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the primaryChannel property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.PrimaryChannelRequestBuilder PrimaryChannel - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.PrimaryChannelRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the schedule property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.ScheduleRequestBuilder Schedule - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.ScheduleRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the sendActivityNotification method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationRequestBuilder SendActivityNotification - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tags property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.TagsRequestBuilder Tags - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Tags.TagsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the template property of the microsoft.graph.team entity. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Template.TemplateRequestBuilder Template - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Template.TemplateRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the unarchive method. - public global::Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.UnarchiveRequestBuilder Unarchive - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.UnarchiveRequestBuilder(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 TeamItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%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 TeamItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property joinedTeams 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get joinedTeams 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property joinedTeams 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.Models.Team body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Team body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property joinedTeams 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 joinedTeams 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 joinedTeams 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.Models.Team body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Team body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder(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 TeamItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get joinedTeams from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamItemRequestBuilderGetQueryParameters - { - /// 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 TeamItemRequestBuilderGetRequestConfiguration : 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 TeamItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Template/TemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Template/TemplateRequestBuilder.cs deleted file mode 100644 index 6d8d01d1d40..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Template/TemplateRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams.Item.Template -{ - /// - /// Provides operations to manage the template property of the microsoft.graph.team entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TemplateRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TemplateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/template{?%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 TemplateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/template{?%24expand,%24select}", rawUrl) - { - } - /// - /// The template this team was created from. See available templates. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The template this team was created from. See available templates. - /// - /// 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.Me.JoinedTeams.Item.Template.TemplateRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Template.TemplateRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The template this team was created from. See available templates. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TemplateRequestBuilderGetQueryParameters - { - /// 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 TemplateRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs deleted file mode 100644 index 380ccde62dc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.JoinedTeams.Item.Unarchive -{ - /// - /// Provides operations to call the unarchive method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UnarchiveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UnarchiveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/unarchive", 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 UnarchiveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/unarchive", rawUrl) - { - } - /// - /// Restore an archived team. This API restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Restore an archived team. This API restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. - /// - /// 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.Me.JoinedTeams.Item.Unarchive.UnarchiveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.UnarchiveRequestBuilder(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 UnarchiveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/JoinedTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/JoinedTeamsRequestBuilder.cs deleted file mode 100644 index f46ee716ac9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/JoinedTeamsRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.JoinedTeams.Count; -using Microsoft.Graph.Me.JoinedTeams.GetAllMessages; -using Microsoft.Graph.Me.JoinedTeams.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.JoinedTeams -{ - /// - /// Provides operations to manage the joinedTeams property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class JoinedTeamsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllMessages method. - public global::Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesRequestBuilder GetAllMessages - { - get => new global::Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the joinedTeams property of the microsoft.graph.user entity. - /// The unique identifier of team - /// A - public global::Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("team%2Did", position); - return new global::Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder(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 JoinedTeamsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams{?%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 JoinedTeamsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the teams in Microsoft Teams that the user is a direct member of. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to joinedTeams 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.Models.Team body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Team body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the teams in Microsoft Teams that the user is a direct member of. - /// - /// 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 joinedTeams 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.Models.Team body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Team body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.JoinedTeams.JoinedTeamsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.JoinedTeams.JoinedTeamsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the teams in Microsoft Teams that the user is a direct member of. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class JoinedTeamsRequestBuilderGetQueryParameters - { - /// 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 JoinedTeamsRequestBuilderGetRequestConfiguration : 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 JoinedTeamsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/LicenseDetails/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/LicenseDetails/Count/CountRequestBuilder.cs deleted file mode 100644 index 3d81c88ab0d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/LicenseDetails/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.LicenseDetails.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/licenseDetails/$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/licenseDetails/$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.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.Me.LicenseDetails.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.LicenseDetails.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/LicenseDetails/GetTeamsLicensingDetails/GetTeamsLicensingDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/LicenseDetails/GetTeamsLicensingDetails/GetTeamsLicensingDetailsRequestBuilder.cs deleted file mode 100644 index dd0113153c8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/LicenseDetails/GetTeamsLicensingDetails/GetTeamsLicensingDetailsRequestBuilder.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.LicenseDetails.GetTeamsLicensingDetails -{ - /// - /// Provides operations to call the getTeamsLicensingDetails method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetTeamsLicensingDetailsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetTeamsLicensingDetailsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/licenseDetails/getTeamsLicensingDetails()", 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 GetTeamsLicensingDetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/licenseDetails/getTeamsLicensingDetails()", rawUrl) - { - } - /// - /// Get the license status of a user in Microsoft Teams. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsLicensingDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the license status of a user in Microsoft 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; - } - /// - /// 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.Me.LicenseDetails.GetTeamsLicensingDetails.GetTeamsLicensingDetailsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.GetTeamsLicensingDetailsRequestBuilder(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 GetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs deleted file mode 100644 index 20494cb474b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.LicenseDetails.Item -{ - /// - /// Provides operations to manage the licenseDetails property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LicenseDetailsItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LicenseDetailsItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/licenseDetails/{licenseDetails%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 LicenseDetailsItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/licenseDetails/{licenseDetails%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property licenseDetails 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A collection of this user's license details. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property licenseDetails 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.Models.LicenseDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.LicenseDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property licenseDetails 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; - } - /// - /// A collection of this user's license details. Read-only. - /// - /// 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 licenseDetails 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.Models.LicenseDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.LicenseDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder(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 LicenseDetailsItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A collection of this user's license details. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LicenseDetailsItemRequestBuilderGetQueryParameters - { - /// 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 LicenseDetailsItemRequestBuilderGetRequestConfiguration : 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 LicenseDetailsItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/LicenseDetails/LicenseDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/LicenseDetails/LicenseDetailsRequestBuilder.cs deleted file mode 100644 index 0bbb24d4836..00000000000 --- a/src/Microsoft.Graph/Generated/Me/LicenseDetails/LicenseDetailsRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.LicenseDetails.Count; -using Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails; -using Microsoft.Graph.Me.LicenseDetails.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.LicenseDetails -{ - /// - /// Provides operations to manage the licenseDetails property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LicenseDetailsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getTeamsLicensingDetails method. - public global::Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.GetTeamsLicensingDetailsRequestBuilder GetTeamsLicensingDetails - { - get => new global::Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.GetTeamsLicensingDetailsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the licenseDetails property of the microsoft.graph.user entity. - /// The unique identifier of licenseDetails - /// A - public global::Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("licenseDetails%2Did", position); - return new global::Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder(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 LicenseDetailsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/licenseDetails{?%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 LicenseDetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/licenseDetails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LicenseDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to licenseDetails 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.Models.LicenseDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.LicenseDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed 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 licenseDetails 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.Models.LicenseDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.LicenseDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.LicenseDetails.LicenseDetailsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.LicenseDetails.LicenseDetailsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LicenseDetailsRequestBuilderGetQueryParameters - { - /// 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 LicenseDetailsRequestBuilderGetRequestConfiguration : 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 LicenseDetailsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Count/CountRequestBuilder.cs deleted file mode 100644 index 72a8f272043..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,134 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.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/mailFolders/$count{?%24filter,%24search,includeHiddenFolders*}", 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/mailFolders/$count{?%24filter,%24search,includeHiddenFolders*}", 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.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.Me.MailFolders.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.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 - /// Include Hidden Folders -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("includeHiddenFolders")] - public string? IncludeHiddenFolders { get; set; } -#nullable restore -#else - [QueryParameter("includeHiddenFolders")] - public string IncludeHiddenFolders { 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/MailFolders/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaGetResponse.cs deleted file mode 100644 index 2a3c20cc306..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.MailFolders.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.MailFolders.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.MailFolder.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index c3ec9e45f11..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. - /// - /// 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.Me.MailFolders.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaResponse.cs deleted file mode 100644 index 0e85f6391b7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.MailFolders.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.MailFolders.Delta.DeltaGetResponse, 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.Me.MailFolders.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs deleted file mode 100644 index b65850bf053..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ /dev/null @@ -1,256 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders -{ - /// - /// Provides operations to manage the childFolders property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChildFoldersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the childFolders property of the microsoft.graph.mailFolder entity. - /// The unique identifier of mailFolder - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("mailFolder%2Did1", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder(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 ChildFoldersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeHiddenFolders*}", 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 ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeHiddenFolders*}", rawUrl) - { - } - /// - /// Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-levelfolder collection and navigate to another folder. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. - /// 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 PostAsync(global::Microsoft.Graph.Models.MailFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.MailFolder body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-levelfolder collection and navigate to another folder. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. - /// - /// 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; - } - /// - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. - /// - /// 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.Models.MailFolder body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MailFolder body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.ChildFoldersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.ChildFoldersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-levelfolder collection and navigate to another folder. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChildFoldersRequestBuilderGetQueryParameters - { - /// 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 - /// Include Hidden Folders -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("includeHiddenFolders")] - public string? IncludeHiddenFolders { get; set; } -#nullable restore -#else - [QueryParameter("includeHiddenFolders")] - public string IncludeHiddenFolders { 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 ChildFoldersRequestBuilderGetRequestConfiguration : 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 ChildFoldersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs deleted file mode 100644 index d5331ac20cb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,134 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.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/mailFolders/{mailFolder%2Did}/childFolders/$count{?%24filter,%24search,includeHiddenFolders*}", 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/mailFolders/{mailFolder%2Did}/childFolders/$count{?%24filter,%24search,includeHiddenFolders*}", 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.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.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.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 - /// Include Hidden Folders -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("includeHiddenFolders")] - public string? IncludeHiddenFolders { get; set; } -#nullable restore -#else - [QueryParameter("includeHiddenFolders")] - public string IncludeHiddenFolders { 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/MailFolders/Item/ChildFolders/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaGetResponse.cs deleted file mode 100644 index d014e686f7f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.MailFolders.Item.ChildFolders.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.MailFolder.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index fc5f52ae3d7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaResponse.cs deleted file mode 100644 index ee2801cc1fb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.MailFolders.Item.ChildFolders.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaGetResponse, 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.Me.MailFolders.Item.ChildFolders.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs deleted file mode 100644 index e3b2a9959d9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.MailFolders.Item.ChildFolders.Item.Copy -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyPostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyPostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs deleted file mode 100644 index 06726ee5ab4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Copy -{ - /// - /// Provides operations to call the copy method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/copy", 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 CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/copy", rawUrl) - { - } - /// - /// Copy a mailfolder and its contents to another mailfolder. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a mailfolder and its contents to another mailfolder. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder(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 CopyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs deleted file mode 100644 index f9ce9a808b2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ /dev/null @@ -1,269 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item -{ - /// - /// Provides operations to manage the childFolders property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MailFolderItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the copy method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder Copy - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.mailFolder entity. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder Messages - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the move method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder Move - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 MailFolderItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}{?%24expand,%24select,includeHiddenFolders*}", 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 MailFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}{?%24expand,%24select,includeHiddenFolders*}", rawUrl) - { - } - /// - /// Delete navigation property childFolders 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of child folders in the mailFolder. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property childFolders 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.Models.MailFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.MailFolder body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property childFolders 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; - } - /// - /// The collection of child folders in the mailFolder. - /// - /// 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 childFolders 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.Models.MailFolder body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailFolder body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder(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 MailFolderItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of child folders in the mailFolder. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MailFolderItemRequestBuilderGetQueryParameters - { - /// 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 - /// Include Hidden Folders -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("includeHiddenFolders")] - public string? IncludeHiddenFolders { get; set; } -#nullable restore -#else - [QueryParameter("includeHiddenFolders")] - public string IncludeHiddenFolders { 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 MailFolderItemRequestBuilderGetRequestConfiguration : 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 MailFolderItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs deleted file mode 100644 index 354c64b0de0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.MessageRules.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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/$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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/$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.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.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.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/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs deleted file mode 100644 index 6d17909a7e7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item -{ - /// - /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRuleItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MessageRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/{messageRule%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 MessageRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/{messageRule%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property messageRules 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of rules that apply to the user's Inbox folder. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property messageRules 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.Models.MessageRule body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.MessageRule body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property messageRules 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; - } - /// - /// The collection of rules that apply to the user's Inbox folder. - /// - /// 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 messageRules 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.Models.MessageRule body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MessageRule body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder(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 MessageRuleItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of rules that apply to the user's Inbox folder. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRuleItemRequestBuilderGetQueryParameters - { - /// 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 MessageRuleItemRequestBuilderGetRequestConfiguration : 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 MessageRuleItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs deleted file mode 100644 index d242b7eb9ec..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.MessageRules -{ - /// - /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRulesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. - /// The unique identifier of messageRule - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("messageRule%2Did", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder(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 MessageRulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules{?%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 MessageRulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of rules that apply to the user's Inbox folder. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to messageRules 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.Models.MessageRule body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.MessageRule body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of rules that apply to the user's Inbox folder. - /// - /// 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 messageRules 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.Models.MessageRule body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MessageRule body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of rules that apply to the user's Inbox folder. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRulesRequestBuilderGetQueryParameters - { - /// 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 MessageRulesRequestBuilderGetRequestConfiguration : 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 MessageRulesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs deleted file mode 100644 index dbb3f444798..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/$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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/$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.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.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/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaGetResponse.cs deleted file mode 100644 index 81457fedae4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Message.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index e8b2fa800af..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,199 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,changeType*}", 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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,changeType*}", rawUrl) - { - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("changeType")] - public string? ChangeType { get; set; } -#nullable restore -#else - [QueryParameter("changeType")] - public string ChangeType { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaResponse.cs deleted file mode 100644 index 28260fda815..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaGetResponse, 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs deleted file mode 100644 index 1861fa4fce3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createUploadSession method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - /// The unique identifier of attachment - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachment%2Did", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%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 AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to attachments 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.Models.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - /// 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 attachments 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.Models.Attachment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilderGetQueryParameters - { - /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs deleted file mode 100644 index de10610a59c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/$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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/$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.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.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/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs deleted file mode 100644 index f08436159f2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateUploadSessionPostRequestBody : 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 AttachmentItem property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.AttachmentItem? AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.AttachmentItem AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public CreateUploadSessionPostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(global::Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs deleted file mode 100644 index 3dda49d520f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession -{ - /// - /// Provides operations to call the createUploadSession method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/createUploadSession", rawUrl) - { - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs deleted file mode 100644 index ea5d78092b8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ /dev/null @@ -1,174 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttachmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/{attachment%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 AttachmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attachments 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attachments 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; - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs deleted file mode 100644 index 374b4449913..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyPostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyPostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs deleted file mode 100644 index e1d96ff673c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy -{ - /// - /// Provides operations to call the copy method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/copy", 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 CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/copy", rawUrl) - { - } - /// - /// Copy a message to a folder within the user's mailbox. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a message to a folder within the user's mailbox. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyRequestBuilder(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 CopyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs deleted file mode 100644 index 26e2fa23105..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs +++ /dev/null @@ -1,118 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateForwardPostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs deleted file mode 100644 index 3284c8d1afe..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ /dev/null @@ -1,103 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward -{ - /// - /// Provides operations to call the createForward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/createForward", 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 CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/createForward", rawUrl) - { - } - /// - /// Invoke action createForward - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action createForward - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder(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 CreateForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs deleted file mode 100644 index 78dc3703c79..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateReplyPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateReplyPostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs deleted file mode 100644 index 472d87911f4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply -{ - /// - /// Provides operations to call the createReply method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateReplyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateReplyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/createReply", 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 CreateReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/createReply", rawUrl) - { - } - /// - /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder(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 CreateReplyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs deleted file mode 100644 index c01a645e4a1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateReplyAllPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateReplyAllPostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs deleted file mode 100644 index 264429cc6ee..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll -{ - /// - /// Provides operations to call the createReplyAll method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateReplyAllRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateReplyAllRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/createReplyAll", 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 CreateReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/createReplyAll", rawUrl) - { - } - /// - /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder(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 CreateReplyAllRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 0604b2c82d9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions/$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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions/$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.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.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/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index 4e859c9ce64..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index c1a0a18b744..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs deleted file mode 100644 index 32d5ea41e55..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs +++ /dev/null @@ -1,118 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ForwardPostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs deleted file mode 100644 index e3a03830506..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward -{ - /// - /// Provides operations to call the forward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/forward", 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 ForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/forward", rawUrl) - { - } - /// - /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardRequestBuilder(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 ForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs deleted file mode 100644 index f694a5cfd17..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ /dev/null @@ -1,307 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder Attachments - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copy method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyRequestBuilder Copy - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createForward method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder CreateForward - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createReply method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder CreateReply - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createReplyAll method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder CreateReplyAll - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the forward method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardRequestBuilder Forward - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the move method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MoveRequestBuilder Move - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the reply method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyRequestBuilder Reply - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyAll method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder ReplyAll - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the send method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder Send - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder(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 MessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%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 MessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property messages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of messages in the mailFolder. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property messages 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.Models.Message body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property messages 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; - } - /// - /// The collection of messages in the mailFolder. - /// - /// 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 messages 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.Models.Message body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder(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 MessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of messages in the mailFolder. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageItemRequestBuilderGetQueryParameters - { - /// 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 MessageItemRequestBuilderGetRequestConfiguration : 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 MessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs deleted file mode 100644 index 457f831b6a6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class MovePostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public MovePostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MovePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs deleted file mode 100644 index 101dea55ac5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move -{ - /// - /// Provides operations to call the move method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MoveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/move", 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 MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/move", rawUrl) - { - } - /// - /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MoveRequestBuilder(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 MoveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index efc5dbefe75..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs deleted file mode 100644 index 209c558cacc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyPostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs deleted file mode 100644 index 90bc443baaf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply -{ - /// - /// Provides operations to call the reply method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/reply", 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 ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/reply", rawUrl) - { - } - /// - /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyRequestBuilder(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 ReplyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs deleted file mode 100644 index 02ef6c35d57..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyAllPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyAllPostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs deleted file mode 100644 index d0a313fc773..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll -{ - /// - /// Provides operations to call the replyAll method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyAllRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyAllRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/replyAll", 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 ReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/replyAll", rawUrl) - { - } - /// - /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder(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 ReplyAllRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs deleted file mode 100644 index d7d48ae76fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send -{ - /// - /// Provides operations to call the send method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SendRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SendRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/send", 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 SendRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/send", rawUrl) - { - } - /// - /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder(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 SendRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index 8765887f42f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs deleted file mode 100644 index 45cad795a9e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta; -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.mailFolder entity. - /// The unique identifier of message - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("message%2Did", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder(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 MessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages{?%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 MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of messages in the mailFolder. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to messages 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.Models.Message body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of messages in the mailFolder. - /// - /// 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 messages 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.Models.Message body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of messages in the mailFolder. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilderGetQueryParameters - { - /// 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 MessagesRequestBuilderGetRequestConfiguration : 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 MessagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs deleted file mode 100644 index cd95d310dfa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.MailFolders.Item.ChildFolders.Item.Move -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class MovePostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public MovePostRequestBody() - { - 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.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs deleted file mode 100644 index cf4adcb5847..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Move -{ - /// - /// Provides operations to call the move method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MoveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/move", 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 MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/move", rawUrl) - { - } - /// - /// Move a mailfolder and its contents to another mailfolder. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Move a mailfolder and its contents to another mailfolder. - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder(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 MoveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index 337790d23b1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyPostRequestBody.cs deleted file mode 100644 index 76486a4702d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.MailFolders.Item.Copy -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyPostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyPostRequestBody() - { - 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.Me.MailFolders.Item.Copy.CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Copy.CopyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyRequestBuilder.cs deleted file mode 100644 index 8a6bc969bac..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Copy -{ - /// - /// Provides operations to call the copy method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/copy", 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 CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/copy", rawUrl) - { - } - /// - /// Copy a mailfolder and its contents to another mailfolder. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a mailfolder and its contents to another mailfolder. - /// - /// 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.Me.MailFolders.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Copy.CopyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Copy.CopyRequestBuilder(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 CopyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs deleted file mode 100644 index 624e4e2f413..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ /dev/null @@ -1,268 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.ChildFolders; -using Microsoft.Graph.Me.MailFolders.Item.Copy; -using Microsoft.Graph.Me.MailFolders.Item.MessageRules; -using Microsoft.Graph.Me.MailFolders.Item.Messages; -using Microsoft.Graph.Me.MailFolders.Item.Move; -using Microsoft.Graph.Me.MailFolders.Item.PermanentDelete; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item -{ - /// - /// Provides operations to manage the mailFolders property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MailFolderItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the childFolders property of the microsoft.graph.mailFolder entity. - public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.ChildFoldersRequestBuilder ChildFolders - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.ChildFoldersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copy method. - public global::Microsoft.Graph.Me.MailFolders.Item.Copy.CopyRequestBuilder Copy - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. - public global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.mailFolder entity. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.MessagesRequestBuilder Messages - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the move method. - public global::Microsoft.Graph.Me.MailFolders.Item.Move.MoveRequestBuilder Move - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 MailFolderItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%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 MailFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of a message folder object. The following list shows the two existing scenarios where an app can get another user's mail folder: - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of mailfolder object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.MailFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.MailFolder body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. - /// - /// 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; - } - /// - /// Retrieve the properties and relationships of a message folder object. The following list shows the two existing scenarios where an app can get another user's mail folder: - /// - /// 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 properties of mailfolder object. - /// - /// 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.Models.MailFolder body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailFolder body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder(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 MailFolderItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve the properties and relationships of a message folder object. The following list shows the two existing scenarios where an app can get another user's mail folder: - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MailFolderItemRequestBuilderGetQueryParameters - { - /// 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 MailFolderItemRequestBuilderGetRequestConfiguration : 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 MailFolderItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs deleted file mode 100644 index ae21da2d444..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.MessageRules.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/mailFolders/{mailFolder%2Did}/messageRules/$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/mailFolders/{mailFolder%2Did}/messageRules/$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.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.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.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/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs deleted file mode 100644 index 29e044be7a4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs +++ /dev/null @@ -1,232 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.MessageRules.Item -{ - /// - /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRuleItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MessageRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messageRules/{messageRule%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 MessageRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messageRules/{messageRule%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete the specified messageRule object. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the properties and relationships of a messageRule object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Change writable properties on a messageRule object and save the changes. - /// 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 PatchAsync(global::Microsoft.Graph.Models.MessageRule body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.MessageRule body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete the specified messageRule 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 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 the properties and relationships of a messageRule 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; - } - /// - /// Change writable properties on a messageRule object and save the changes. - /// - /// 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.Models.MessageRule body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MessageRule body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder(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 MessageRuleItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get the properties and relationships of a messageRule object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRuleItemRequestBuilderGetQueryParameters - { - /// 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 MessageRuleItemRequestBuilderGetRequestConfiguration : 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 MessageRuleItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs deleted file mode 100644 index cb003fc7336..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count; -using Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.MessageRules -{ - /// - /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRulesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. - /// The unique identifier of messageRule - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("messageRule%2Did", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder(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 MessageRulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messageRules{?%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 MessageRulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messageRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get all the messageRule objects defined for the user's inbox. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. - /// 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 PostAsync(global::Microsoft.Graph.Models.MessageRule body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.MessageRule body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all the messageRule objects defined for the user's inbox. - /// - /// 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 a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. - /// - /// 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.Models.MessageRule body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MessageRule body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all the messageRule objects defined for the user's inbox. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageRulesRequestBuilderGetQueryParameters - { - /// 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 MessageRulesRequestBuilderGetRequestConfiguration : 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 MessageRulesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Count/CountRequestBuilder.cs deleted file mode 100644 index f0eea2ab924..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.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/mailFolders/{mailFolder%2Did}/messages/$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/mailFolders/{mailFolder%2Did}/messages/$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.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.Me.MailFolders.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.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/MailFolders/Item/Messages/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaGetResponse.cs deleted file mode 100644 index 71fd725e89a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.MailFolders.Item.Messages.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.MailFolders.Item.Messages.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Message.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index f3f76a94083..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,199 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,changeType*}", 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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,changeType*}", rawUrl) - { - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// - /// 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.Me.MailFolders.Item.Messages.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("changeType")] - public string? ChangeType { get; set; } -#nullable restore -#else - [QueryParameter("changeType")] - public string ChangeType { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaResponse.cs deleted file mode 100644 index 7f602e56cb9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.MailFolders.Item.Messages.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaGetResponse, 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.Me.MailFolders.Item.Messages.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs deleted file mode 100644 index 0272187a883..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Attachments -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createUploadSession method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - /// The unique identifier of attachment - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachment%2Did", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%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 AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to attachments 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.Models.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - /// 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 attachments 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.Models.Attachment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilderGetQueryParameters - { - /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs deleted file mode 100644 index d7cc1e44028..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Attachments.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/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/$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/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/$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.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.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.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/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs deleted file mode 100644 index ad49bc5ade4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateUploadSessionPostRequestBody : 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 AttachmentItem property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.AttachmentItem? AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.AttachmentItem AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public CreateUploadSessionPostRequestBody() - { - 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.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(global::Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs deleted file mode 100644 index 990080adf2f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession -{ - /// - /// Provides operations to call the createUploadSession method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/createUploadSession", rawUrl) - { - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// - /// 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.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs deleted file mode 100644 index ba79156c350..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ /dev/null @@ -1,174 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Attachments.Item -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttachmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/{attachment%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 AttachmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attachments 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attachments 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; - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - /// 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.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The fileAttachment and itemAttachment attachments for the message. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs deleted file mode 100644 index 2bf83b587bb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.MailFolders.Item.Messages.Item.Copy -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyPostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyPostRequestBody() - { - 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.Me.MailFolders.Item.Messages.Item.Copy.CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs deleted file mode 100644 index 05faa41f2b2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Copy -{ - /// - /// Provides operations to call the copy method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/copy", 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 CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/copy", rawUrl) - { - } - /// - /// Copy a message to a folder within the user's mailbox. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a message to a folder within the user's mailbox. - /// - /// 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.Me.MailFolders.Item.Messages.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyRequestBuilder(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 CopyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs deleted file mode 100644 index ab0755809d3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs +++ /dev/null @@ -1,118 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.CreateForward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateForwardPostRequestBody() - { - 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.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs deleted file mode 100644 index 81702dddfdd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ /dev/null @@ -1,103 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.CreateForward -{ - /// - /// Provides operations to call the createForward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/createForward", 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 CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/createForward", rawUrl) - { - } - /// - /// Invoke action createForward - /// - /// 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.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action createForward - /// - /// 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.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder(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 CreateForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs deleted file mode 100644 index efc7cc276a4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.CreateReply -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateReplyPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateReplyPostRequestBody() - { - 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.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs deleted file mode 100644 index 254f5e6737e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.CreateReply -{ - /// - /// Provides operations to call the createReply method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateReplyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateReplyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/createReply", 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 CreateReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/createReply", rawUrl) - { - } - /// - /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. - /// - /// 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.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder(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 CreateReplyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs deleted file mode 100644 index 181adb9f6d1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.CreateReplyAll -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateReplyAllPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateReplyAllPostRequestBody() - { - 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.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs deleted file mode 100644 index 0137c386b6a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.CreateReplyAll -{ - /// - /// Provides operations to call the createReplyAll method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateReplyAllRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateReplyAllRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/createReplyAll", 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 CreateReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/createReplyAll", rawUrl) - { - } - /// - /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. - /// - /// 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.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder(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 CreateReplyAllRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 965d79e48e8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Extensions.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/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions/$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/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions/$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.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.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.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/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index cd675560f11..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 1dc00586bee..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the message. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs deleted file mode 100644 index 7fc29063b48..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs +++ /dev/null @@ -1,118 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Forward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ForwardPostRequestBody() - { - 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.Me.MailFolders.Item.Messages.Item.Forward.ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs deleted file mode 100644 index 7e31093ff10..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Forward -{ - /// - /// Provides operations to call the forward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/forward", 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 ForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/forward", rawUrl) - { - } - /// - /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. - /// - /// 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.Me.MailFolders.Item.Messages.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardRequestBuilder(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 ForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs deleted file mode 100644 index baf776b7dd1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ /dev/null @@ -1,307 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder Attachments - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copy method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyRequestBuilder Copy - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createForward method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder CreateForward - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createReply method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder CreateReply - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createReplyAll method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder CreateReplyAll - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the forward method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardRequestBuilder Forward - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the move method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MoveRequestBuilder Move - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the reply method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyRequestBuilder Reply - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyAll method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder ReplyAll - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the send method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.SendRequestBuilder Send - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.SendRequestBuilder(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 MessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%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 MessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property messages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of messages in the mailFolder. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property messages 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.Models.Message body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property messages 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; - } - /// - /// The collection of messages in the mailFolder. - /// - /// 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 messages 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.Models.Message body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder(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 MessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of messages in the mailFolder. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageItemRequestBuilderGetQueryParameters - { - /// 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 MessageItemRequestBuilderGetRequestConfiguration : 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 MessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs deleted file mode 100644 index 843da03a615..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.MailFolders.Item.Messages.Item.Move -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class MovePostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public MovePostRequestBody() - { - 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.Me.MailFolders.Item.Messages.Item.Move.MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MovePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs deleted file mode 100644 index 5127f46e73f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Move -{ - /// - /// Provides operations to call the move method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MoveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/move", 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 MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/move", rawUrl) - { - } - /// - /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. - /// - /// 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.Me.MailFolders.Item.Messages.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MoveRequestBuilder(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 MoveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index de9dc547574..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.MailFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs deleted file mode 100644 index 810410c2d3e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Reply -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyPostRequestBody() - { - 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.Me.MailFolders.Item.Messages.Item.Reply.ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs deleted file mode 100644 index 9ecf56c8e62..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Reply -{ - /// - /// Provides operations to call the reply method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/reply", 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 ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/reply", rawUrl) - { - } - /// - /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. - /// - /// 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.Me.MailFolders.Item.Messages.Item.Reply.ReplyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyRequestBuilder(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 ReplyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs deleted file mode 100644 index a620f07e3fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.ReplyAll -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyAllPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyAllPostRequestBody() - { - 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.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs deleted file mode 100644 index 1987c9a2c00..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.ReplyAll -{ - /// - /// Provides operations to call the replyAll method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyAllRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyAllRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/replyAll", 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 ReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/replyAll", rawUrl) - { - } - /// - /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. - /// - /// 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.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder(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 ReplyAllRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs deleted file mode 100644 index 9ef6ad9a894..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Send -{ - /// - /// Provides operations to call the send method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SendRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SendRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/send", 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 SendRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/send", rawUrl) - { - } - /// - /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. - /// - /// 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.Me.MailFolders.Item.Messages.Item.Send.SendRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.SendRequestBuilder(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 SendRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index 8720c32a53a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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 all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/MessagesRequestBuilder.cs deleted file mode 100644 index d124547a3e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/MessagesRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Item.Messages.Count; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Delta; -using Microsoft.Graph.Me.MailFolders.Item.Messages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Messages -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.mailFolder entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.mailFolder entity. - /// The unique identifier of message - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("message%2Did", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder(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 MessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages{?%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 MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Use this API to create a new Message in a mailfolder. - /// 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 PostAsync(global::Microsoft.Graph.Models.Message body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. - /// - /// 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; - } - /// - /// Use this API to create a new Message in a mailfolder. - /// - /// 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.Models.Message body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilderGetQueryParameters - { - /// 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 MessagesRequestBuilderGetRequestConfiguration : 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 MessagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MovePostRequestBody.cs deleted file mode 100644 index 0ec9393939f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MovePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.MailFolders.Item.Move -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class MovePostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public MovePostRequestBody() - { - 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.Me.MailFolders.Item.Move.MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.MailFolders.Item.Move.MovePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MoveRequestBuilder.cs deleted file mode 100644 index cf377be3a8a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MoveRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders.Item.Move -{ - /// - /// Provides operations to call the move method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MoveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/move", 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 MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/move", rawUrl) - { - } - /// - /// Move a mailfolder and its contents to another mailfolder. - /// 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 PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Move a mailfolder and its contents to another mailfolder. - /// - /// 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.Me.MailFolders.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.Item.Move.MoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.Move.MoveRequestBuilder(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 MoveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index 3d113ae670c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MailFolders.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs deleted file mode 100644 index 9316c4f785d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs +++ /dev/null @@ -1,256 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MailFolders.Count; -using Microsoft.Graph.Me.MailFolders.Delta; -using Microsoft.Graph.Me.MailFolders.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailFolders -{ - /// - /// Provides operations to manage the mailFolders property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MailFoldersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.MailFolders.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.MailFolders.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the mailFolders property of the microsoft.graph.user entity. - /// The unique identifier of mailFolder - /// A - public global::Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("mailFolder%2Did", position); - return new global::Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder(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 MailFoldersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeHiddenFolders*}", 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 MailFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeHiddenFolders*}", rawUrl) - { - } - /// - /// Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation doesn't return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. - /// 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 PostAsync(global::Microsoft.Graph.Models.MailFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.MailFolder body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation doesn't return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately. - /// - /// 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; - } - /// - /// Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. - /// - /// 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.Models.MailFolder body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MailFolder body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailFolders.MailFoldersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailFolders.MailFoldersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation doesn't return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MailFoldersRequestBuilderGetQueryParameters - { - /// 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 - /// Include Hidden Folders -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("includeHiddenFolders")] - public string? IncludeHiddenFolders { get; set; } -#nullable restore -#else - [QueryParameter("includeHiddenFolders")] - public string IncludeHiddenFolders { 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 MailFoldersRequestBuilderGetRequestConfiguration : 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 MailFoldersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailboxSettings/MailboxSettingsRequestBuilder.cs deleted file mode 100644 index 4c77e52ec67..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ /dev/null @@ -1,182 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MailboxSettings -{ - /// - /// Builds and executes requests for operations under \me\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/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/mailboxSettings{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the user's mailboxSettings. You can view all mailbox settings, or get specific settings. Users can set the following settings for their mailboxes through an Outlook client: Users can set their preferred date and time formats using Outlook on the web. Users can choose one of the supported short date or short time formats. This GET operation returns the format the user has chosen. Users can set the time zone they prefer on any Outlook client, by choosing from the supported time zones that their administrator has set up for their mailbox server. The administrator can set up time zones in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. This GET operation returns the user's preferred time zone in the format that the administrator has set up. If you want that time zone to be in a specific format (Windows or IANA), you can first update the preferred time zone in that format as a mailbox setting. Subsequently you will be able to get the time zone in that format. Alternatively, you can manage the format conversion separately in your app. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Enable, configure, or disable one or more of the following settings as part of a user's mailboxSettings: When updating the preferred date or time format for a user, specify it in respectively, the short date or short time format. When updating the preferred time zone for a user, specify it in the Windows or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. You can also further customize the time zone as shown in example 2 below. - /// 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 PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the user's mailboxSettings. You can view all mailbox settings, or get specific settings. Users can set the following settings for their mailboxes through an Outlook client: Users can set their preferred date and time formats using Outlook on the web. Users can choose one of the supported short date or short time formats. This GET operation returns the format the user has chosen. Users can set the time zone they prefer on any Outlook client, by choosing from the supported time zones that their administrator has set up for their mailbox server. The administrator can set up time zones in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. This GET operation returns the user's preferred time zone in the format that the administrator has set up. If you want that time zone to be in a specific format (Windows or IANA), you can first update the preferred time zone in that format as a mailbox setting. Subsequently you will be able to get the time zone in that format. Alternatively, you can manage the format conversion separately in your app. - /// - /// 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; - } - /// - /// Enable, configure, or disable one or more of the following settings as part of a user's mailboxSettings: When updating the preferred date or time format for a user, specify it in respectively, the short date or short time format. When updating the preferred time zone for a user, specify it in the Windows or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. You can also further customize the time zone as shown in example 2 below. - /// - /// 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.Models.MailboxSettings body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the user's mailboxSettings. You can view all mailbox settings, or get specific settings. Users can set the following settings for their mailboxes through an Outlook client: Users can set their preferred date and time formats using Outlook on the web. Users can choose one of the supported short date or short time formats. This GET operation returns the format the user has chosen. Users can set the time zone they prefer on any Outlook client, by choosing from the supported time zones that their administrator has set up for their mailbox server. The administrator can set up time zones in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. This GET operation returns the user's preferred time zone in the format that the administrator has set up. If you want that time zone to be in a specific format (Windows or IANA), you can first update the preferred time zone in that format as a mailbox setting. Subsequently you will be able to get the time zone in that format. Alternatively, you can manage the format conversion separately in your app. - /// - [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/ManagedAppRegistrations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Count/CountRequestBuilder.cs deleted file mode 100644 index c25c1ca7561..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedAppRegistrations.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/managedAppRegistrations/$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/managedAppRegistrations/$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.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.Me.ManagedAppRegistrations.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedAppRegistrations.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/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs deleted file mode 100644 index 73307f07b72..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedAppRegistrations.Item -{ - /// - /// Provides operations to manage the managedAppRegistrations property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagedAppRegistrationItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ManagedAppRegistrationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedAppRegistrations/{managedAppRegistration%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 ManagedAppRegistrationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedAppRegistrations/{managedAppRegistration%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Zero or more managed app registrations that belong to the user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Zero or more managed app registrations that belong to the user. - /// - /// 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.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Zero or more managed app registrations that belong to the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagedAppRegistrationItemRequestBuilderGetQueryParameters - { - /// 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 ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs deleted file mode 100644 index 87b52ea8488..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedAppRegistrations.Count; -using Microsoft.Graph.Me.ManagedAppRegistrations.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedAppRegistrations -{ - /// - /// Provides operations to manage the managedAppRegistrations property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagedAppRegistrationsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the managedAppRegistrations property of the microsoft.graph.user entity. - /// The unique identifier of managedAppRegistration - /// A - public global::Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("managedAppRegistration%2Did", position); - return new global::Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder(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 ManagedAppRegistrationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedAppRegistrations{?%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 ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedAppRegistrations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Zero or more managed app registrations that belong to the user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppRegistrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Zero or more managed app registrations that belong to the user. - /// - /// 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.Me.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Zero or more managed app registrations that belong to the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagedAppRegistrationsRequestBuilderGetQueryParameters - { - /// 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 ManagedAppRegistrationsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Count/CountRequestBuilder.cs deleted file mode 100644 index bd66cbf5914..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.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/managedDevices/$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/managedDevices/$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.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.Me.ManagedDevices.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.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/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs deleted file mode 100644 index 39ad2d0d73b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.BypassActivationLock -{ - /// - /// Provides operations to call the bypassActivationLock method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BypassActivationLockRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public BypassActivationLockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/bypassActivationLock", 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 BypassActivationLockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/bypassActivationLock", rawUrl) - { - } - /// - /// Bypass activation lock - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Bypass activation lock - /// - /// 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.Me.ManagedDevices.Item.BypassActivationLock.BypassActivationLockRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.BypassActivationLockRequestBuilder(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 BypassActivationLockRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs deleted file mode 100644 index 7ae5597b636..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.ManagedDevices.Item.CleanWindowsDevice -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CleanWindowsDevicePostRequestBody : 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 keepUserData property - public bool? KeepUserData - { - get { return BackingStore?.Get("keepUserData"); } - set { BackingStore?.Set("keepUserData", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public CleanWindowsDevicePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - KeepUserData = false; - } - /// - /// 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.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDevicePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDevicePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "keepUserData", n => { KeepUserData = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("keepUserData", KeepUserData); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs deleted file mode 100644 index c0e5e15cc41..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.CleanWindowsDevice -{ - /// - /// Provides operations to call the cleanWindowsDevice method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CleanWindowsDeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CleanWindowsDeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/cleanWindowsDevice", 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 CleanWindowsDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/cleanWindowsDevice", rawUrl) - { - } - /// - /// Clean Windows device - /// - /// 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.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDevicePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDevicePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Clean Windows device - /// - /// 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.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDevicePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDevicePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDeviceRequestBuilder(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 CleanWindowsDeviceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDevicePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDevicePostRequestBody.cs deleted file mode 100644 index 7fbe93a3a24..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDevicePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeleteUserFromSharedAppleDevicePostRequestBody : 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 userPrincipalName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? UserPrincipalName - { - get { return BackingStore?.Get("userPrincipalName"); } - set { BackingStore?.Set("userPrincipalName", value); } - } -#nullable restore -#else - public string UserPrincipalName - { - get { return BackingStore?.Get("userPrincipalName"); } - set { BackingStore?.Set("userPrincipalName", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public DeleteUserFromSharedAppleDevicePostRequestBody() - { - 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.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDevicePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDevicePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("userPrincipalName", UserPrincipalName); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs deleted file mode 100644 index 98c7fb4ddf4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice -{ - /// - /// Provides operations to call the deleteUserFromSharedAppleDevice method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeleteUserFromSharedAppleDeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeleteUserFromSharedAppleDeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deleteUserFromSharedAppleDevice", 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 DeleteUserFromSharedAppleDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deleteUserFromSharedAppleDevice", rawUrl) - { - } - /// - /// Delete user from shared Apple device - /// - /// 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.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDevicePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDevicePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete user from shared Apple device - /// - /// 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.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDevicePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDevicePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDeviceRequestBuilder(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 DeleteUserFromSharedAppleDeviceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs deleted file mode 100644 index f7ec4f0d3b0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.DeviceCategory -{ - /// - /// Provides operations to manage the deviceCategory property of the microsoft.graph.managedDevice entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceCategoryRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the collection of user entities. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder Ref - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder(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 DeviceCategoryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceCategory{?%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 DeviceCategoryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceCategory{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property deviceCategory 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Device category - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property deviceCategory 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.Models.DeviceCategory body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.DeviceCategory body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property deviceCategory 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; - } - /// - /// Device category - /// - /// 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 deviceCategory 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.Models.DeviceCategory body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DeviceCategory body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.DeviceCategoryRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.DeviceCategoryRequestBuilder(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 DeviceCategoryRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Device category - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceCategoryRequestBuilderGetQueryParameters - { - /// 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 DeviceCategoryRequestBuilderGetRequestConfiguration : 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 DeviceCategoryRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.cs deleted file mode 100644 index 33eef5555e6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.DeviceCategory.Ref -{ - /// - /// Provides operations to manage the collection of user entities. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RefRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceCategory/$ref", 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 RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceCategory/$ref", rawUrl) - { - } - /// - /// Delete ref of navigation property deviceCategory 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Device category - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the ref of navigation property deviceCategory in me - /// - /// 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 PutAsync(global::Microsoft.Graph.Models.ReferenceUpdate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(global::Microsoft.Graph.Models.ReferenceUpdate body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete ref of navigation property deviceCategory 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; - } - /// - /// Device category - /// - /// 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 ref of navigation property deviceCategory 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 ToPutRequestInformation(global::Microsoft.Graph.Models.ReferenceUpdate body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.ReferenceUpdate body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, 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.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder(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 RefRequestBuilderDeleteRequestConfiguration : 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 RefRequestBuilderGetRequestConfiguration : 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 RefRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs deleted file mode 100644 index cdaf92768d1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.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/managedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates/$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/managedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates/$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.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.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.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/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs deleted file mode 100644 index 81c31d25c25..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count; -using Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.DeviceCompliancePolicyStates -{ - /// - /// Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceCompliancePolicyStatesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. - /// The unique identifier of deviceCompliancePolicyState - /// A - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("deviceCompliancePolicyState%2Did", position); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder(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 DeviceCompliancePolicyStatesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates{?%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 DeviceCompliancePolicyStatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Device compliance policy states for this device. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicyStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to deviceCompliancePolicyStates 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.Models.DeviceCompliancePolicyState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.DeviceCompliancePolicyState body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Device compliance policy states for this device. - /// - /// 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 deviceCompliancePolicyStates 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.Models.DeviceCompliancePolicyState body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DeviceCompliancePolicyState body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.DeviceCompliancePolicyStatesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.DeviceCompliancePolicyStatesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Device compliance policy states for this device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceCompliancePolicyStatesRequestBuilderGetQueryParameters - { - /// 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 DeviceCompliancePolicyStatesRequestBuilderGetRequestConfiguration : 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 DeviceCompliancePolicyStatesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs deleted file mode 100644 index f4686305f23..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item -{ - /// - /// Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceCompliancePolicyStateItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeviceCompliancePolicyStateItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates/{deviceCompliancePolicyState%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 DeviceCompliancePolicyStateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates/{deviceCompliancePolicyState%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property deviceCompliancePolicyStates 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Device compliance policy states for this device. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property deviceCompliancePolicyStates 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.Models.DeviceCompliancePolicyState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.DeviceCompliancePolicyState body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property deviceCompliancePolicyStates 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; - } - /// - /// Device compliance policy states for this device. - /// - /// 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 deviceCompliancePolicyStates 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.Models.DeviceCompliancePolicyState body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DeviceCompliancePolicyState body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder(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 DeviceCompliancePolicyStateItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Device compliance policy states for this device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceCompliancePolicyStateItemRequestBuilderGetQueryParameters - { - /// 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 DeviceCompliancePolicyStateItemRequestBuilderGetRequestConfiguration : 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 DeviceCompliancePolicyStateItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs deleted file mode 100644 index 87579e1b768..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.DeviceConfigurationStates.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/managedDevices/{managedDevice%2Did}/deviceConfigurationStates/$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/managedDevices/{managedDevice%2Did}/deviceConfigurationStates/$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.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.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.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/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs deleted file mode 100644 index df2b58b6f46..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count; -using Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.DeviceConfigurationStates -{ - /// - /// Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceConfigurationStatesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. - /// The unique identifier of deviceConfigurationState - /// A - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("deviceConfigurationState%2Did", position); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder(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 DeviceConfigurationStatesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceConfigurationStates{?%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 DeviceConfigurationStatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceConfigurationStates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Device configuration states for this device. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfigurationStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to deviceConfigurationStates 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.Models.DeviceConfigurationState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.DeviceConfigurationState body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Device configuration states for this device. - /// - /// 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 deviceConfigurationStates 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.Models.DeviceConfigurationState body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DeviceConfigurationState body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.DeviceConfigurationStatesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.DeviceConfigurationStatesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Device configuration states for this device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceConfigurationStatesRequestBuilderGetQueryParameters - { - /// 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 DeviceConfigurationStatesRequestBuilderGetRequestConfiguration : 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 DeviceConfigurationStatesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs deleted file mode 100644 index dac13f3fdc4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.DeviceConfigurationStates.Item -{ - /// - /// Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceConfigurationStateItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeviceConfigurationStateItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceConfigurationStates/{deviceConfigurationState%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 DeviceConfigurationStateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/deviceConfigurationStates/{deviceConfigurationState%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property deviceConfigurationStates 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Device configuration states for this device. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property deviceConfigurationStates 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.Models.DeviceConfigurationState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.DeviceConfigurationState body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property deviceConfigurationStates 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; - } - /// - /// Device configuration states for this device. - /// - /// 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 deviceConfigurationStates 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.Models.DeviceConfigurationState body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DeviceConfigurationState body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder(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 DeviceConfigurationStateItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Device configuration states for this device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceConfigurationStateItemRequestBuilderGetQueryParameters - { - /// 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 DeviceConfigurationStateItemRequestBuilderGetRequestConfiguration : 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 DeviceConfigurationStateItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs deleted file mode 100644 index ea564f3b28c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.DisableLostMode -{ - /// - /// Provides operations to call the disableLostMode method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DisableLostModeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DisableLostModeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/disableLostMode", 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 DisableLostModeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/disableLostMode", rawUrl) - { - } - /// - /// Disable lost mode - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Disable lost mode - /// - /// 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.Me.ManagedDevices.Item.DisableLostMode.DisableLostModeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.DisableLostModeRequestBuilder(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 DisableLostModeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs deleted file mode 100644 index f83a274b64a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.LocateDevice -{ - /// - /// Provides operations to call the locateDevice method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LocateDeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LocateDeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/locateDevice", 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 LocateDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/locateDevice", rawUrl) - { - } - /// - /// Locate a device - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Locate a device - /// - /// 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.Me.ManagedDevices.Item.LocateDevice.LocateDeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.LocateDeviceRequestBuilder(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 LocateDeviceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs deleted file mode 100644 index daf982bfd80..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.LogCollectionRequests.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/managedDevices/{managedDevice%2Did}/logCollectionRequests/$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/managedDevices/{managedDevice%2Did}/logCollectionRequests/$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.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.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.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/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlPostResponse.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlPostResponse.cs deleted file mode 100644 index 145d7d1d0be..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlPostResponse.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateDownloadUrlPostResponse : 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 value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Value - { - get { return BackingStore?.Get("value"); } - set { BackingStore?.Set("value", value); } - } -#nullable restore -#else - public string Value - { - get { return BackingStore?.Get("value"); } - set { BackingStore?.Set("value", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateDownloadUrlPostResponse() - { - 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.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlPostResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "value", n => { Value = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("value", Value); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs deleted file mode 100644 index cc998cd0562..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs +++ /dev/null @@ -1,121 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl -{ - /// - /// Provides operations to call the createDownloadUrl method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateDownloadUrlRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateDownloadUrlRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}/createDownloadUrl", 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 CreateDownloadUrlRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}/createDownloadUrl", rawUrl) - { - } - /// - /// Invoke action createDownloadUrl - /// - /// 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 PostAsCreateDownloadUrlPostResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsCreateDownloadUrlPostResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToPostRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action createDownloadUrl - /// - /// 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 PostAsCreateDownloadUrlPostResponseAsync instead.")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action createDownloadUrl - /// - /// 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.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlRequestBuilder(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 CreateDownloadUrlRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlResponse.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlResponse.cs deleted file mode 100644 index d09165ea492..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl -{ - [Obsolete("This class is obsolete. Use CreateDownloadUrlPostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateDownloadUrlResponse : global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlPostResponse, 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.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs deleted file mode 100644 index 61e88cbe8f7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.LogCollectionRequests.Item -{ - /// - /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceLogCollectionResponseItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the createDownloadUrl method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlRequestBuilder CreateDownloadUrl - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlRequestBuilder(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 DeviceLogCollectionResponseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%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 DeviceLogCollectionResponseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property logCollectionRequests 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List of log collection requests - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property logCollectionRequests 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.Models.DeviceLogCollectionResponse body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.DeviceLogCollectionResponse body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property logCollectionRequests 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; - } - /// - /// List of log collection requests - /// - /// 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 logCollectionRequests 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.Models.DeviceLogCollectionResponse body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DeviceLogCollectionResponse body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder(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 DeviceLogCollectionResponseItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// List of log collection requests - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeviceLogCollectionResponseItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [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 DeviceLogCollectionResponseItemRequestBuilderGetRequestConfiguration : 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 DeviceLogCollectionResponseItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs deleted file mode 100644 index 56ff3ae7445..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count; -using Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.LogCollectionRequests -{ - /// - /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LogCollectionRequestsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. - /// The unique identifier of deviceLogCollectionResponse - /// A - public global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("deviceLogCollectionResponse%2Did", position); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder(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 LogCollectionRequestsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/logCollectionRequests{?%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 LogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/logCollectionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// List of log collection requests - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceLogCollectionResponseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to logCollectionRequests 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.Models.DeviceLogCollectionResponse body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.DeviceLogCollectionResponse body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List of log collection requests - /// - /// 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 logCollectionRequests 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.Models.DeviceLogCollectionResponse body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DeviceLogCollectionResponse body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.LogCollectionRequestsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.LogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List of log collection requests - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LogCollectionRequestsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [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 LogCollectionRequestsRequestBuilderGetRequestConfiguration : 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 LogCollectionRequestsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs deleted file mode 100644 index c38b0e5aa7a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser -{ - /// - /// Provides operations to call the logoutSharedAppleDeviceActiveUser method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LogoutSharedAppleDeviceActiveUserRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LogoutSharedAppleDeviceActiveUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/logoutSharedAppleDeviceActiveUser", 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 LogoutSharedAppleDeviceActiveUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/logoutSharedAppleDeviceActiveUser", rawUrl) - { - } - /// - /// Logout shared Apple device active user - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Logout shared Apple device active user - /// - /// 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.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.LogoutSharedAppleDeviceActiveUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.LogoutSharedAppleDeviceActiveUserRequestBuilder(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 LogoutSharedAppleDeviceActiveUserRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs deleted file mode 100644 index e64e9c7e446..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ /dev/null @@ -1,373 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock; -using Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice; -using Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice; -using Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory; -using Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates; -using Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates; -using Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode; -using Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice; -using Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests; -using Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser; -using Microsoft.Graph.Me.ManagedDevices.Item.RebootNow; -using Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode; -using Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock; -using Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance; -using Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode; -using Microsoft.Graph.Me.ManagedDevices.Item.Retire; -using Microsoft.Graph.Me.ManagedDevices.Item.ShutDown; -using Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice; -using Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount; -using Microsoft.Graph.Me.ManagedDevices.Item.Users; -using Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan; -using Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures; -using Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState; -using Microsoft.Graph.Me.ManagedDevices.Item.Wipe; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item -{ - /// - /// Provides operations to manage the managedDevices property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the bypassActivationLock method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.BypassActivationLockRequestBuilder BypassActivationLock - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.BypassActivationLockRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the cleanWindowsDevice method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDeviceRequestBuilder CleanWindowsDevice - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDeviceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the deleteUserFromSharedAppleDevice method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDeviceRequestBuilder DeleteUserFromSharedAppleDevice - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDeviceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the deviceCategory property of the microsoft.graph.managedDevice entity. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.DeviceCategoryRequestBuilder DeviceCategory - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.DeviceCategoryRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.DeviceCompliancePolicyStatesRequestBuilder DeviceCompliancePolicyStates - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.DeviceCompliancePolicyStatesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.DeviceConfigurationStatesRequestBuilder DeviceConfigurationStates - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.DeviceConfigurationStatesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the disableLostMode method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.DisableLostModeRequestBuilder DisableLostMode - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.DisableLostModeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the locateDevice method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.LocateDeviceRequestBuilder LocateDevice - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.LocateDeviceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. - public global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.LogCollectionRequestsRequestBuilder LogCollectionRequests - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.LogCollectionRequestsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the logoutSharedAppleDeviceActiveUser method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.LogoutSharedAppleDeviceActiveUserRequestBuilder LogoutSharedAppleDeviceActiveUser - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.LogoutSharedAppleDeviceActiveUserRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the rebootNow method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.RebootNowRequestBuilder RebootNow - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.RebootNowRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the recoverPasscode method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder RecoverPasscode - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the remoteLock method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder RemoteLock - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the requestRemoteAssistance method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder RequestRemoteAssistance - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the resetPasscode method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder ResetPasscode - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the retire method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.Retire.RetireRequestBuilder Retire - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.Retire.RetireRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the shutDown method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder ShutDown - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the syncDevice method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder SyncDevice - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the updateWindowsDeviceAccount method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountRequestBuilder UpdateWindowsDeviceAccount - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the users property of the microsoft.graph.managedDevice entity. - public global::Microsoft.Graph.Me.ManagedDevices.Item.Users.UsersRequestBuilder Users - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.Users.UsersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the windowsDefenderScan method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanRequestBuilder WindowsDefenderScan - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the windowsDefenderUpdateSignatures method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.WindowsDefenderUpdateSignaturesRequestBuilder WindowsDefenderUpdateSignatures - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.WindowsDefenderUpdateSignaturesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the windowsProtectionState property of the microsoft.graph.managedDevice entity. - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.WindowsProtectionStateRequestBuilder WindowsProtectionState - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.WindowsProtectionStateRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the wipe method. - public global::Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipeRequestBuilder Wipe - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipeRequestBuilder(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 ManagedDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%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 ManagedDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property managedDevices 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The managed devices associated with the user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property managedDevices 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.Models.ManagedDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ManagedDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property managedDevices 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; - } - /// - /// The managed devices associated with the user. - /// - /// 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 managedDevices 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.Models.ManagedDevice body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ManagedDevice body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder(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 ManagedDeviceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The managed devices associated with the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagedDeviceItemRequestBuilderGetQueryParameters - { - /// 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 ManagedDeviceItemRequestBuilderGetRequestConfiguration : 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 ManagedDeviceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs deleted file mode 100644 index d7a9e4e668f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.RebootNow -{ - /// - /// Provides operations to call the rebootNow method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RebootNowRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RebootNowRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/rebootNow", 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 RebootNowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/rebootNow", rawUrl) - { - } - /// - /// Reboot device - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reboot device - /// - /// 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.Me.ManagedDevices.Item.RebootNow.RebootNowRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.RebootNowRequestBuilder(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 RebootNowRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs deleted file mode 100644 index febc25b2c11..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.RecoverPasscode -{ - /// - /// Provides operations to call the recoverPasscode method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RecoverPasscodeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RecoverPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/recoverPasscode", 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 RecoverPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/recoverPasscode", rawUrl) - { - } - /// - /// Recover passcode - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Recover passcode - /// - /// 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.Me.ManagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder(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 RecoverPasscodeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs deleted file mode 100644 index 53c249c6b98..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.RemoteLock -{ - /// - /// Provides operations to call the remoteLock method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RemoteLockRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RemoteLockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/remoteLock", 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 RemoteLockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/remoteLock", rawUrl) - { - } - /// - /// Remote lock - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Remote lock - /// - /// 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.Me.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder(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 RemoteLockRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs deleted file mode 100644 index 7ce4a8f0642..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.RequestRemoteAssistance -{ - /// - /// Provides operations to call the requestRemoteAssistance method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RequestRemoteAssistanceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RequestRemoteAssistanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/requestRemoteAssistance", 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 RequestRemoteAssistanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/requestRemoteAssistance", rawUrl) - { - } - /// - /// Request remote assistance - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Request remote assistance - /// - /// 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.Me.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder(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 RequestRemoteAssistanceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs deleted file mode 100644 index b5b66656da3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.ResetPasscode -{ - /// - /// Provides operations to call the resetPasscode method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResetPasscodeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResetPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/resetPasscode", 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 ResetPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/resetPasscode", rawUrl) - { - } - /// - /// Reset passcode - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reset passcode - /// - /// 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.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder(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 ResetPasscodeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Retire/RetireRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Retire/RetireRequestBuilder.cs deleted file mode 100644 index 43a4419e67a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Retire/RetireRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.Retire -{ - /// - /// Provides operations to call the retire method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RetireRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RetireRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/retire", 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 RetireRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/retire", rawUrl) - { - } - /// - /// Retire a device - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retire a device - /// - /// 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.Me.ManagedDevices.Item.Retire.RetireRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.Retire.RetireRequestBuilder(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 RetireRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs deleted file mode 100644 index 27c468bd60b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.ShutDown -{ - /// - /// Provides operations to call the shutDown method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ShutDownRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ShutDownRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/shutDown", 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 ShutDownRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/shutDown", rawUrl) - { - } - /// - /// Shut down device - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Shut down device - /// - /// 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.Me.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder(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 ShutDownRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs deleted file mode 100644 index eb940de6fca..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.SyncDevice -{ - /// - /// Provides operations to call the syncDevice method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SyncDeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SyncDeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/syncDevice", 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 SyncDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/syncDevice", rawUrl) - { - } - /// - /// Invoke action syncDevice - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action syncDevice - /// - /// 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.Me.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder(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 SyncDeviceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountPostRequestBody.cs deleted file mode 100644 index db4da1aa873..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UpdateWindowsDeviceAccountPostRequestBody : 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 updateWindowsDeviceAccountActionParameter property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.UpdateWindowsDeviceAccountActionParameter? UpdateWindowsDeviceAccountActionParameter - { - get { return BackingStore?.Get("updateWindowsDeviceAccountActionParameter"); } - set { BackingStore?.Set("updateWindowsDeviceAccountActionParameter", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.UpdateWindowsDeviceAccountActionParameter UpdateWindowsDeviceAccountActionParameter - { - get { return BackingStore?.Get("updateWindowsDeviceAccountActionParameter"); } - set { BackingStore?.Set("updateWindowsDeviceAccountActionParameter", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UpdateWindowsDeviceAccountPostRequestBody() - { - 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.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "updateWindowsDeviceAccountActionParameter", n => { UpdateWindowsDeviceAccountActionParameter = n.GetObjectValue(global::Microsoft.Graph.Models.UpdateWindowsDeviceAccountActionParameter.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("updateWindowsDeviceAccountActionParameter", UpdateWindowsDeviceAccountActionParameter); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs deleted file mode 100644 index d52b87858ad..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount -{ - /// - /// Provides operations to call the updateWindowsDeviceAccount method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UpdateWindowsDeviceAccountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UpdateWindowsDeviceAccountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/updateWindowsDeviceAccount", 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 UpdateWindowsDeviceAccountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/updateWindowsDeviceAccount", rawUrl) - { - } - /// - /// Invoke action updateWindowsDeviceAccount - /// - /// 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.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action updateWindowsDeviceAccount - /// - /// 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.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountRequestBuilder(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 UpdateWindowsDeviceAccountRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Users/UsersRequestBuilder.cs deleted file mode 100644 index c106461116e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Users/UsersRequestBuilder.cs +++ /dev/null @@ -1,164 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.Users -{ - /// - /// Provides operations to manage the users property of the microsoft.graph.managedDevice entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsersRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UsersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/users{?%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 UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/users{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The primary users associated with the managed device. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The primary users associated with the managed device. - /// - /// 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.Me.ManagedDevices.Item.Users.UsersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.Users.UsersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The primary users associated with the managed device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsersRequestBuilderGetQueryParameters - { - /// 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 UsersRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs deleted file mode 100644 index 48cb3a2353e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.ManagedDevices.Item.WindowsDefenderScan -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class WindowsDefenderScanPostRequestBody : 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 quickScan property - public bool? QuickScan - { - get { return BackingStore?.Get("quickScan"); } - set { BackingStore?.Set("quickScan", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public WindowsDefenderScanPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - QuickScan = false; - } - /// - /// 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.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "quickScan", n => { QuickScan = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("quickScan", QuickScan); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs deleted file mode 100644 index 657199824a1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.WindowsDefenderScan -{ - /// - /// Provides operations to call the windowsDefenderScan method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsDefenderScanRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public WindowsDefenderScanRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsDefenderScan", 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 WindowsDefenderScanRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsDefenderScan", rawUrl) - { - } - /// - /// Invoke action windowsDefenderScan - /// - /// 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.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action windowsDefenderScan - /// - /// 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.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanRequestBuilder(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 WindowsDefenderScanRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs deleted file mode 100644 index bddaba25dd5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures -{ - /// - /// Provides operations to call the windowsDefenderUpdateSignatures method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsDefenderUpdateSignaturesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public WindowsDefenderUpdateSignaturesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsDefenderUpdateSignatures", 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 WindowsDefenderUpdateSignaturesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsDefenderUpdateSignatures", rawUrl) - { - } - /// - /// Invoke action windowsDefenderUpdateSignatures - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action windowsDefenderUpdateSignatures - /// - /// 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.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.WindowsDefenderUpdateSignaturesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.WindowsDefenderUpdateSignaturesRequestBuilder(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 WindowsDefenderUpdateSignaturesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs deleted file mode 100644 index 8c2c09b0f87..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.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/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/$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/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/$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.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.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.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/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs deleted file mode 100644 index 7722666f74b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count; -using Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState -{ - /// - /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetectedMalwareStateRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. - /// The unique identifier of windowsDeviceMalwareState - /// A - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("windowsDeviceMalwareState%2Did", position); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder(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 DetectedMalwareStateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState{?%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 DetectedMalwareStateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Device malware list - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsDeviceMalwareStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to detectedMalwareState 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.Models.WindowsDeviceMalwareState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.WindowsDeviceMalwareState body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Device malware list - /// - /// 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 detectedMalwareState 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.Models.WindowsDeviceMalwareState body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WindowsDeviceMalwareState body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.DetectedMalwareStateRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.DetectedMalwareStateRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Device malware list - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetectedMalwareStateRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [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 DetectedMalwareStateRequestBuilderGetRequestConfiguration : 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 DetectedMalwareStateRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs deleted file mode 100644 index 1d1a48f607e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item -{ - /// - /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsDeviceMalwareStateItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public WindowsDeviceMalwareStateItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareState%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 WindowsDeviceMalwareStateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareState%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property detectedMalwareState 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Device malware list - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property detectedMalwareState 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.Models.WindowsDeviceMalwareState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.WindowsDeviceMalwareState body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property detectedMalwareState 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; - } - /// - /// Device malware list - /// - /// 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 detectedMalwareState 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.Models.WindowsDeviceMalwareState body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WindowsDeviceMalwareState body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder(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 WindowsDeviceMalwareStateItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Device malware list - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [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 WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration : 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 WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs deleted file mode 100644 index eaa45226d45..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices.Item.WindowsProtectionState -{ - /// - /// Provides operations to manage the windowsProtectionState property of the microsoft.graph.managedDevice entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsProtectionStateRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.DetectedMalwareStateRequestBuilder DetectedMalwareState - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.DetectedMalwareStateRequestBuilder(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 WindowsProtectionStateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsProtectionState{?%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 WindowsProtectionStateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/windowsProtectionState{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property windowsProtectionState 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The device protection status. This property is read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property windowsProtectionState 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.Models.WindowsProtectionState body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.WindowsProtectionState body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property windowsProtectionState 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; - } - /// - /// The device protection status. This property is read-only. - /// - /// 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 windowsProtectionState 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.Models.WindowsProtectionState body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WindowsProtectionState body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.WindowsProtectionStateRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.WindowsProtectionStateRequestBuilder(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 WindowsProtectionStateRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The device protection status. This property is read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsProtectionStateRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [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 WindowsProtectionStateRequestBuilderGetRequestConfiguration : 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 WindowsProtectionStateRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs deleted file mode 100644 index 175d155dca8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs +++ /dev/null @@ -1,108 +0,0 @@ -// -#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.Me.ManagedDevices.Item.Wipe -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class WipePostRequestBody : 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 keepEnrollmentData property - public bool? KeepEnrollmentData - { - get { return BackingStore?.Get("keepEnrollmentData"); } - set { BackingStore?.Set("keepEnrollmentData", value); } - } - /// The keepUserData property - public bool? KeepUserData - { - get { return BackingStore?.Get("keepUserData"); } - set { BackingStore?.Set("keepUserData", value); } - } - /// The macOsUnlockCode property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? MacOsUnlockCode - { - get { return BackingStore?.Get("macOsUnlockCode"); } - set { BackingStore?.Set("macOsUnlockCode", value); } - } -#nullable restore -#else - public string MacOsUnlockCode - { - get { return BackingStore?.Get("macOsUnlockCode"); } - set { BackingStore?.Set("macOsUnlockCode", value); } - } -#endif - /// The persistEsimDataPlan property - public bool? PersistEsimDataPlan - { - get { return BackingStore?.Get("persistEsimDataPlan"); } - set { BackingStore?.Set("persistEsimDataPlan", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public WipePostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - KeepEnrollmentData = false; - KeepUserData = false; - PersistEsimDataPlan = false; - } - /// - /// 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.Me.ManagedDevices.Item.Wipe.WipePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "keepEnrollmentData", n => { KeepEnrollmentData = n.GetBoolValue(); } }, - { "keepUserData", n => { KeepUserData = n.GetBoolValue(); } }, - { "macOsUnlockCode", n => { MacOsUnlockCode = n.GetStringValue(); } }, - { "persistEsimDataPlan", n => { PersistEsimDataPlan = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("keepEnrollmentData", KeepEnrollmentData); - writer.WriteBoolValue("keepUserData", KeepUserData); - writer.WriteStringValue("macOsUnlockCode", MacOsUnlockCode); - writer.WriteBoolValue("persistEsimDataPlan", PersistEsimDataPlan); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs deleted file mode 100644 index 6c756c95fbc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ManagedDevices.Item.Wipe -{ - /// - /// Provides operations to call the wipe method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WipeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public WipeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/wipe", 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 WipeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/wipe", rawUrl) - { - } - /// - /// Wipe a device - /// - /// 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.Me.ManagedDevices.Item.Wipe.WipePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Wipe a device - /// - /// 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.Me.ManagedDevices.Item.Wipe.WipePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipeRequestBuilder(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 WipeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/ManagedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/ManagedDevicesRequestBuilder.cs deleted file mode 100644 index cc7ed8c5706..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/ManagedDevicesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ManagedDevices.Count; -using Microsoft.Graph.Me.ManagedDevices.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ManagedDevices -{ - /// - /// Provides operations to manage the managedDevices property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagedDevicesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the managedDevices property of the microsoft.graph.user entity. - /// The unique identifier of managedDevice - /// A - public global::Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("managedDevice%2Did", position); - return new global::Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder(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 ManagedDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices{?%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 ManagedDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The managed devices associated with the user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to managedDevices 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.Models.ManagedDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ManagedDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The managed devices associated with the user. - /// - /// 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 managedDevices 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.Models.ManagedDevice body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ManagedDevice body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ManagedDevices.ManagedDevicesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ManagedDevices.ManagedDevicesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The managed devices associated with the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagedDevicesRequestBuilderGetQueryParameters - { - /// 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 ManagedDevicesRequestBuilderGetRequestConfiguration : 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 ManagedDevicesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Manager/ManagerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Manager/ManagerRequestBuilder.cs deleted file mode 100644 index 20b76204cf3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Manager/ManagerRequestBuilder.cs +++ /dev/null @@ -1,131 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Manager.Ref; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Manager -{ - /// - /// Provides operations to manage the manager property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagerRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the collection of user entities. - public global::Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder Ref - { - get => new global::Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder(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 ManagerRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/manager{?%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 ManagerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/manager{?%24expand,%24select}", rawUrl) - { - } - /// - /// The user or contact that is this user's manager. Read-only. Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The user or contact that is this user's manager. Read-only. Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Manager.ManagerRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Manager.ManagerRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The user or contact that is this user's manager. Read-only. Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ManagerRequestBuilderGetQueryParameters - { - /// 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 ManagerRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Manager/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Manager/Ref/RefRequestBuilder.cs deleted file mode 100644 index b3d287f256d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Manager/Ref/RefRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Manager.Ref -{ - /// - /// Provides operations to manage the collection of user entities. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RefRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/manager/$ref", 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 RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/manager/$ref", rawUrl) - { - } - /// - /// Delete ref of navigation property manager 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The user or contact that is this user's manager. Read-only. Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the ref of navigation property manager in me - /// - /// 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 PutAsync(global::Microsoft.Graph.Models.ReferenceUpdate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(global::Microsoft.Graph.Models.ReferenceUpdate body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete ref of navigation property manager 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; - } - /// - /// The user or contact that is this user's manager. Read-only. Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the ref of navigation property manager 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 ToPutRequestInformation(global::Microsoft.Graph.Models.ReferenceUpdate body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.ReferenceUpdate body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, 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.Me.Manager.Ref.RefRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder(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 RefRequestBuilderDeleteRequestConfiguration : 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 RefRequestBuilderGetRequestConfiguration : 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 RefRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs deleted file mode 100644 index fb2cef81d50..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ /dev/null @@ -1,688 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Activities; -using Microsoft.Graph.Me.AdhocCalls; -using Microsoft.Graph.Me.AgreementAcceptances; -using Microsoft.Graph.Me.AppRoleAssignments; -using Microsoft.Graph.Me.AssignLicense; -using Microsoft.Graph.Me.Authentication; -using Microsoft.Graph.Me.Calendar; -using Microsoft.Graph.Me.CalendarGroups; -using Microsoft.Graph.Me.CalendarView; -using Microsoft.Graph.Me.Calendars; -using Microsoft.Graph.Me.ChangePassword; -using Microsoft.Graph.Me.Chats; -using Microsoft.Graph.Me.CheckMemberGroups; -using Microsoft.Graph.Me.CheckMemberObjects; -using Microsoft.Graph.Me.CloudClipboard; -using Microsoft.Graph.Me.CloudPCs; -using Microsoft.Graph.Me.ContactFolders; -using Microsoft.Graph.Me.Contacts; -using Microsoft.Graph.Me.CreatedObjects; -using Microsoft.Graph.Me.DataSecurityAndGovernance; -using Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents; -using Microsoft.Graph.Me.DirectReports; -using Microsoft.Graph.Me.Drive; -using Microsoft.Graph.Me.Drives; -using Microsoft.Graph.Me.EmployeeExperience; -using Microsoft.Graph.Me.Events; -using Microsoft.Graph.Me.ExportDeviceAndAppManagementData; -using Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop; -using Microsoft.Graph.Me.ExportPersonalData; -using Microsoft.Graph.Me.Extensions; -using Microsoft.Graph.Me.FindMeetingTimes; -using Microsoft.Graph.Me.FollowedSites; -using Microsoft.Graph.Me.GetMailTips; -using Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses; -using Microsoft.Graph.Me.GetManagedAppPolicies; -using Microsoft.Graph.Me.GetManagedDevicesWithAppFailures; -using Microsoft.Graph.Me.GetMemberGroups; -using Microsoft.Graph.Me.GetMemberObjects; -using Microsoft.Graph.Me.InferenceClassification; -using Microsoft.Graph.Me.Insights; -using Microsoft.Graph.Me.JoinedTeams; -using Microsoft.Graph.Me.LicenseDetails; -using Microsoft.Graph.Me.MailFolders; -using Microsoft.Graph.Me.MailboxSettings; -using Microsoft.Graph.Me.ManagedAppRegistrations; -using Microsoft.Graph.Me.ManagedDevices; -using Microsoft.Graph.Me.Manager; -using Microsoft.Graph.Me.MemberOf; -using Microsoft.Graph.Me.Messages; -using Microsoft.Graph.Me.Notes; -using Microsoft.Graph.Me.Oauth2PermissionGrants; -using Microsoft.Graph.Me.OnPremisesSyncBehavior; -using Microsoft.Graph.Me.Onenote; -using Microsoft.Graph.Me.OnlineMeetings; -using Microsoft.Graph.Me.Outlook; -using Microsoft.Graph.Me.OwnedDevices; -using Microsoft.Graph.Me.OwnedObjects; -using Microsoft.Graph.Me.People; -using Microsoft.Graph.Me.PermissionGrants; -using Microsoft.Graph.Me.Photo; -using Microsoft.Graph.Me.Photos; -using Microsoft.Graph.Me.Planner; -using Microsoft.Graph.Me.Presence; -using Microsoft.Graph.Me.RegisteredDevices; -using Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime; -using Microsoft.Graph.Me.RemoveAllDevicesFromManagement; -using Microsoft.Graph.Me.ReprocessLicenseAssignment; -using Microsoft.Graph.Me.Restore; -using Microsoft.Graph.Me.RetryServiceProvisioning; -using Microsoft.Graph.Me.RevokeSignInSessions; -using Microsoft.Graph.Me.ScopedRoleMemberOf; -using Microsoft.Graph.Me.SendMail; -using Microsoft.Graph.Me.ServiceProvisioningErrors; -using Microsoft.Graph.Me.Settings; -using Microsoft.Graph.Me.Solutions; -using Microsoft.Graph.Me.SponsorOf; -using Microsoft.Graph.Me.Sponsors; -using Microsoft.Graph.Me.Teamwork; -using Microsoft.Graph.Me.Todo; -using Microsoft.Graph.Me.TransitiveMemberOf; -using Microsoft.Graph.Me.TranslateExchangeIds; -using Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me -{ - /// - /// Provides operations to manage the user singleton. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MeRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the activities property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Activities.ActivitiesRequestBuilder Activities - { - get => new global::Microsoft.Graph.Me.Activities.ActivitiesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder AdhocCalls - { - get => new global::Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.AgreementAcceptances.AgreementAcceptancesRequestBuilder AgreementAcceptances - { - get => new global::Microsoft.Graph.Me.AgreementAcceptances.AgreementAcceptancesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the appRoleAssignments property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.AppRoleAssignments.AppRoleAssignmentsRequestBuilder AppRoleAssignments - { - get => new global::Microsoft.Graph.Me.AppRoleAssignments.AppRoleAssignmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the assignLicense method. - public global::Microsoft.Graph.Me.AssignLicense.AssignLicenseRequestBuilder AssignLicense - { - get => new global::Microsoft.Graph.Me.AssignLicense.AssignLicenseRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the authentication property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Authentication.AuthenticationRequestBuilder Authentication - { - get => new global::Microsoft.Graph.Me.Authentication.AuthenticationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendar property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Calendar.CalendarRequestBuilder Calendar - { - get => new global::Microsoft.Graph.Me.Calendar.CalendarRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendarGroups property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.CalendarGroups.CalendarGroupsRequestBuilder CalendarGroups - { - get => new global::Microsoft.Graph.Me.CalendarGroups.CalendarGroupsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendars property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Calendars.CalendarsRequestBuilder Calendars - { - get => new global::Microsoft.Graph.Me.Calendars.CalendarsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the calendarView property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.CalendarView.CalendarViewRequestBuilder CalendarView - { - get => new global::Microsoft.Graph.Me.CalendarView.CalendarViewRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the changePassword method. - public global::Microsoft.Graph.Me.ChangePassword.ChangePasswordRequestBuilder ChangePassword - { - get => new global::Microsoft.Graph.Me.ChangePassword.ChangePasswordRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the chats property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Chats.ChatsRequestBuilder Chats - { - get => new global::Microsoft.Graph.Me.Chats.ChatsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the checkMemberGroups method. - public global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsRequestBuilder CheckMemberGroups - { - get => new global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the checkMemberObjects method. - public global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsRequestBuilder CheckMemberObjects - { - get => new global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the cloudClipboard property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.CloudClipboard.CloudClipboardRequestBuilder CloudClipboard - { - get => new global::Microsoft.Graph.Me.CloudClipboard.CloudClipboardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the cloudPCs property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder CloudPCs - { - get => new global::Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the contactFolders property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.ContactFolders.ContactFoldersRequestBuilder ContactFolders - { - get => new global::Microsoft.Graph.Me.ContactFolders.ContactFoldersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the contacts property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Contacts.ContactsRequestBuilder Contacts - { - get => new global::Microsoft.Graph.Me.Contacts.ContactsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the createdObjects property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.CreatedObjects.CreatedObjectsRequestBuilder CreatedObjects - { - get => new global::Microsoft.Graph.Me.CreatedObjects.CreatedObjectsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder DataSecurityAndGovernance - { - get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder DeviceManagementTroubleshootingEvents - { - get => new global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the directReports property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.DirectReports.DirectReportsRequestBuilder DirectReports - { - get => new global::Microsoft.Graph.Me.DirectReports.DirectReportsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the drive property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Drive.DriveRequestBuilder Drive - { - get => new global::Microsoft.Graph.Me.Drive.DriveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the drives property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Drives.DrivesRequestBuilder Drives - { - get => new global::Microsoft.Graph.Me.Drives.DrivesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the employeeExperience property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.EmployeeExperience.EmployeeExperienceRequestBuilder EmployeeExperience - { - get => new global::Microsoft.Graph.Me.EmployeeExperience.EmployeeExperienceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the events property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Events.EventsRequestBuilder Events - { - get => new global::Microsoft.Graph.Me.Events.EventsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the exportDeviceAndAppManagementData method. - public global::Microsoft.Graph.Me.ExportDeviceAndAppManagementData.ExportDeviceAndAppManagementDataRequestBuilder ExportDeviceAndAppManagementData - { - get => new global::Microsoft.Graph.Me.ExportDeviceAndAppManagementData.ExportDeviceAndAppManagementDataRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the exportPersonalData method. - public global::Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataRequestBuilder ExportPersonalData - { - get => new global::Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the findMeetingTimes method. - public global::Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesRequestBuilder FindMeetingTimes - { - get => new global::Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the followedSites property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.FollowedSites.FollowedSitesRequestBuilder FollowedSites - { - get => new global::Microsoft.Graph.Me.FollowedSites.FollowedSitesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getMailTips method. - public global::Microsoft.Graph.Me.GetMailTips.GetMailTipsRequestBuilder GetMailTips - { - get => new global::Microsoft.Graph.Me.GetMailTips.GetMailTipsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getManagedAppDiagnosticStatuses method. - public global::Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesRequestBuilder GetManagedAppDiagnosticStatuses - { - get => new global::Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getManagedAppPolicies method. - public global::Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesRequestBuilder GetManagedAppPolicies - { - get => new global::Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getManagedDevicesWithAppFailures method. - public global::Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresRequestBuilder GetManagedDevicesWithAppFailures - { - get => new global::Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getMemberGroups method. - public global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsRequestBuilder GetMemberGroups - { - get => new global::Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getMemberObjects method. - public global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsRequestBuilder GetMemberObjects - { - get => new global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the inferenceClassification property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.InferenceClassification.InferenceClassificationRequestBuilder InferenceClassification - { - get => new global::Microsoft.Graph.Me.InferenceClassification.InferenceClassificationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the insights property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Insights.InsightsRequestBuilder Insights - { - get => new global::Microsoft.Graph.Me.Insights.InsightsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the joinedTeams property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.JoinedTeams.JoinedTeamsRequestBuilder JoinedTeams - { - get => new global::Microsoft.Graph.Me.JoinedTeams.JoinedTeamsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the licenseDetails property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.LicenseDetails.LicenseDetailsRequestBuilder LicenseDetails - { - get => new global::Microsoft.Graph.Me.LicenseDetails.LicenseDetailsRequestBuilder(PathParameters, RequestAdapter); - } - /// The mailboxSettings property - public global::Microsoft.Graph.Me.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings - { - get => new global::Microsoft.Graph.Me.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the mailFolders property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.MailFolders.MailFoldersRequestBuilder MailFolders - { - get => new global::Microsoft.Graph.Me.MailFolders.MailFoldersRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the managedAppRegistrations property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder ManagedAppRegistrations - { - get => new global::Microsoft.Graph.Me.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the managedDevices property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.ManagedDevices.ManagedDevicesRequestBuilder ManagedDevices - { - get => new global::Microsoft.Graph.Me.ManagedDevices.ManagedDevicesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the manager property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Manager.ManagerRequestBuilder Manager - { - get => new global::Microsoft.Graph.Me.Manager.ManagerRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the memberOf property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.MemberOf.MemberOfRequestBuilder MemberOf - { - get => new global::Microsoft.Graph.Me.MemberOf.MemberOfRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Messages.MessagesRequestBuilder Messages - { - get => new global::Microsoft.Graph.Me.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the notes property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Notes.NotesRequestBuilder Notes - { - get => new global::Microsoft.Graph.Me.Notes.NotesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Oauth2PermissionGrants - { - get => new global::Microsoft.Graph.Me.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the onenote property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Onenote.OnenoteRequestBuilder Onenote - { - get => new global::Microsoft.Graph.Me.Onenote.OnenoteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the onlineMeetings property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder OnlineMeetings - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder OnPremisesSyncBehavior - { - get => new global::Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the outlook property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Outlook.OutlookRequestBuilder Outlook - { - get => new global::Microsoft.Graph.Me.Outlook.OutlookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the ownedDevices property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.OwnedDevices.OwnedDevicesRequestBuilder OwnedDevices - { - get => new global::Microsoft.Graph.Me.OwnedDevices.OwnedDevicesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the ownedObjects property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.OwnedObjects.OwnedObjectsRequestBuilder OwnedObjects - { - get => new global::Microsoft.Graph.Me.OwnedObjects.OwnedObjectsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the people property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.People.PeopleRequestBuilder People - { - get => new global::Microsoft.Graph.Me.People.PeopleRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the permissionGrants property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.PermissionGrants.PermissionGrantsRequestBuilder PermissionGrants - { - get => new global::Microsoft.Graph.Me.PermissionGrants.PermissionGrantsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the photo property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Photo.PhotoRequestBuilder Photo - { - get => new global::Microsoft.Graph.Me.Photo.PhotoRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the photos property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Photos.PhotosRequestBuilder Photos - { - get => new global::Microsoft.Graph.Me.Photos.PhotosRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the planner property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Planner.PlannerRequestBuilder Planner - { - get => new global::Microsoft.Graph.Me.Planner.PlannerRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the presence property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Presence.PresenceRequestBuilder Presence - { - get => new global::Microsoft.Graph.Me.Presence.PresenceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the registeredDevices property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.RegisteredDevices.RegisteredDevicesRequestBuilder RegisteredDevices - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.RegisteredDevicesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the removeAllDevicesFromManagement method. - public global::Microsoft.Graph.Me.RemoveAllDevicesFromManagement.RemoveAllDevicesFromManagementRequestBuilder RemoveAllDevicesFromManagement - { - get => new global::Microsoft.Graph.Me.RemoveAllDevicesFromManagement.RemoveAllDevicesFromManagementRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the reprocessLicenseAssignment method. - public global::Microsoft.Graph.Me.ReprocessLicenseAssignment.ReprocessLicenseAssignmentRequestBuilder ReprocessLicenseAssignment - { - get => new global::Microsoft.Graph.Me.ReprocessLicenseAssignment.ReprocessLicenseAssignmentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the restore method. - public global::Microsoft.Graph.Me.Restore.RestoreRequestBuilder Restore - { - get => new global::Microsoft.Graph.Me.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the retryServiceProvisioning method. - public global::Microsoft.Graph.Me.RetryServiceProvisioning.RetryServiceProvisioningRequestBuilder RetryServiceProvisioning - { - get => new global::Microsoft.Graph.Me.RetryServiceProvisioning.RetryServiceProvisioningRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the revokeSignInSessions method. - public global::Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsRequestBuilder RevokeSignInSessions - { - get => new global::Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the scopedRoleMemberOf property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.ScopedRoleMemberOf.ScopedRoleMemberOfRequestBuilder ScopedRoleMemberOf - { - get => new global::Microsoft.Graph.Me.ScopedRoleMemberOf.ScopedRoleMemberOfRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the sendMail method. - public global::Microsoft.Graph.Me.SendMail.SendMailRequestBuilder SendMail - { - get => new global::Microsoft.Graph.Me.SendMail.SendMailRequestBuilder(PathParameters, RequestAdapter); - } - /// The serviceProvisioningErrors property - public global::Microsoft.Graph.Me.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors - { - get => new global::Microsoft.Graph.Me.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the settings property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Settings.SettingsRequestBuilder Settings - { - get => new global::Microsoft.Graph.Me.Settings.SettingsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the solutions property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Solutions.SolutionsRequestBuilder Solutions - { - get => new global::Microsoft.Graph.Me.Solutions.SolutionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sponsorOf property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.SponsorOf.SponsorOfRequestBuilder SponsorOf - { - get => new global::Microsoft.Graph.Me.SponsorOf.SponsorOfRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Sponsors.SponsorsRequestBuilder Sponsors - { - get => new global::Microsoft.Graph.Me.Sponsors.SponsorsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the teamwork property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Teamwork.TeamworkRequestBuilder Teamwork - { - get => new global::Microsoft.Graph.Me.Teamwork.TeamworkRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the todo property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.Todo.TodoRequestBuilder Todo - { - get => new global::Microsoft.Graph.Me.Todo.TodoRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.user entity. - public global::Microsoft.Graph.Me.TransitiveMemberOf.TransitiveMemberOfRequestBuilder TransitiveMemberOf - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.TransitiveMemberOfRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the translateExchangeIds method. - public global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsRequestBuilder TranslateExchangeIds - { - get => new global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the wipeManagedAppRegistrationsByDeviceTag method. - public global::Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagRequestBuilder WipeManagedAppRegistrationsByDeviceTag - { - get => new global::Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagRequestBuilder(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 MeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me{?%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 MeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me{?%24expand,%24select}", rawUrl) - { - } - /// - /// Provides operations to call the exportDeviceAndAppManagementData method. - /// - /// A - /// Usage: skip={skip} - /// Usage: top={top} - public global::Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder ExportDeviceAndAppManagementDataWithSkipWithTop(int? skip, int? top) - { - if(ReferenceEquals(skip, null)) throw new ArgumentNullException(nameof(skip)); - if(ReferenceEquals(top, null)) throw new ArgumentNullException(nameof(top)); - return new global::Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(PathParameters, RequestAdapter, skip, top); - } - /// - /// 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 - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of a user object. To use this API to update an agentUser, specify an @odata.type property with a value of #microsoft.graph.agentUser in the request body. - /// 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 PatchAsync(global::Microsoft.Graph.Models.User body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.User body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Provides operations to call the reminderView method. - /// - /// A - /// Usage: EndDateTime='{EndDateTime}' - /// Usage: StartDateTime='{StartDateTime}' - public global::Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder ReminderViewWithStartDateTimeWithEndDateTime(string endDateTime, string startDateTime) - { - if(string.IsNullOrEmpty(endDateTime)) throw new ArgumentNullException(nameof(endDateTime)); - if(string.IsNullOrEmpty(startDateTime)) throw new ArgumentNullException(nameof(startDateTime)); - return new global::Microsoft.Graph.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. - /// - /// 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 properties of a user object. To use this API to update an agentUser, specify an @odata.type property with a value of #microsoft.graph.agentUser in the request body. - /// - /// 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.Models.User body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.User body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.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. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MeRequestBuilderGetQueryParameters - { - /// 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 MeRequestBuilderGetRequestConfiguration : 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 MeRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Count/CountRequestBuilder.cs deleted file mode 100644 index 979c334ff63..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MemberOf.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/memberOf/$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/memberOf/$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.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.Me.MemberOf.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.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/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs deleted file mode 100644 index 418594ff773..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MemberOf.GraphAdministrativeUnit.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/memberOf/graph.administrativeUnit/$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/memberOf/graph.administrativeUnit/$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.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.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.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/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs deleted file mode 100644 index 6cde7be8a67..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MemberOf.GraphAdministrativeUnit -{ - /// - /// Casts the previous resource to administrativeUnit. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAdministrativeUnitRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.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 GraphAdministrativeUnitRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/graph.administrativeUnit{?%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 GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/graph.administrativeUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection - /// - /// 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.Me.MemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAdministrativeUnitRequestBuilderGetQueryParameters - { - /// 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 GraphAdministrativeUnitRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs deleted file mode 100644 index 35c96d9171e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MemberOf.GraphDirectoryRole.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/memberOf/graph.directoryRole/$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/memberOf/graph.directoryRole/$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.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.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.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/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs deleted file mode 100644 index b86de77eaae..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MemberOf.GraphDirectoryRole -{ - /// - /// Casts the previous resource to directoryRole. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDirectoryRoleRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.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 GraphDirectoryRoleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/graph.directoryRole{?%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 GraphDirectoryRoleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/graph.directoryRole{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection - /// - /// 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.Me.MemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDirectoryRoleRequestBuilderGetQueryParameters - { - /// 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 GraphDirectoryRoleRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/Count/CountRequestBuilder.cs deleted file mode 100644 index 138ae95de00..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.MemberOf.GraphGroup.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/memberOf/graph.group/$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/memberOf/graph.group/$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.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.Me.MemberOf.GraphGroup.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.GraphGroup.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/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs deleted file mode 100644 index 9d9fd8a6c57..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MemberOf.GraphGroup.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MemberOf.GraphGroup -{ - /// - /// Casts the previous resource to group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MemberOf.GraphGroup.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 GraphGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/graph.group{?%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 GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/graph.group{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection - /// - /// 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.Me.MemberOf.GraphGroup.GraphGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.GraphGroup.GraphGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilderGetQueryParameters - { - /// 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 GraphGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs deleted file mode 100644 index 3ecbbe284bf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ /dev/null @@ -1,143 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit; -using Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole; -using Microsoft.Graph.Me.MemberOf.Item.GraphGroup; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MemberOf.Item -{ - /// - /// Provides operations to manage the memberOf property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder - { - /// Casts the previous resource to administrativeUnit. - public global::Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder GraphAdministrativeUnit - { - get => new global::Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to directoryRole. - public global::Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder GraphDirectoryRole - { - get => new global::Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to group. - public global::Microsoft.Graph.Me.MemberOf.Item.GraphGroup.GraphGroupRequestBuilder GraphGroup - { - get => new global::Microsoft.Graph.Me.MemberOf.Item.GraphGroup.GraphGroupRequestBuilder(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 DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs deleted file mode 100644 index 5c710944a12..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MemberOf.Item.GraphAdministrativeUnit -{ - /// - /// Casts the previous resource to administrativeUnit. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAdministrativeUnitRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphAdministrativeUnitRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/{directoryObject%2Did}/graph.administrativeUnit{?%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 GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/{directoryObject%2Did}/graph.administrativeUnit{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit - /// - /// 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.Me.MemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAdministrativeUnitRequestBuilderGetQueryParameters - { - /// 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 GraphAdministrativeUnitRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs deleted file mode 100644 index 327697c86d9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MemberOf.Item.GraphDirectoryRole -{ - /// - /// Casts the previous resource to directoryRole. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDirectoryRoleRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphDirectoryRoleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/{directoryObject%2Did}/graph.directoryRole{?%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 GraphDirectoryRoleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/{directoryObject%2Did}/graph.directoryRole{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole - /// - /// 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.Me.MemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDirectoryRoleRequestBuilderGetQueryParameters - { - /// 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 GraphDirectoryRoleRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs deleted file mode 100644 index 79476df8910..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MemberOf.Item.GraphGroup -{ - /// - /// Casts the previous resource to group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/{directoryObject%2Did}/graph.group{?%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 GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf/{directoryObject%2Did}/graph.group{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MemberOf.Item.GraphGroup.GraphGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.Item.GraphGroup.GraphGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilderGetQueryParameters - { - /// 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 GraphGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/MemberOfRequestBuilder.cs deleted file mode 100644 index 2e721900ed0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/MemberOfRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.MemberOf.Count; -using Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit; -using Microsoft.Graph.Me.MemberOf.GraphDirectoryRole; -using Microsoft.Graph.Me.MemberOf.GraphGroup; -using Microsoft.Graph.Me.MemberOf.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.MemberOf -{ - /// - /// Provides operations to manage the memberOf property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MemberOfRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to administrativeUnit. - public global::Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder GraphAdministrativeUnit - { - get => new global::Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to directoryRole. - public global::Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder GraphDirectoryRole - { - get => new global::Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to group. - public global::Microsoft.Graph.Me.MemberOf.GraphGroup.GraphGroupRequestBuilder GraphGroup - { - get => new global::Microsoft.Graph.Me.MemberOf.GraphGroup.GraphGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the memberOf property of the microsoft.graph.user entity. - /// The unique identifier of directoryObject - /// A - public global::Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("directoryObject%2Did", position); - return new global::Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder(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 MemberOfRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf{?%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 MemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/memberOf{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.MemberOf.MemberOfRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.MemberOf.MemberOfRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MemberOfRequestBuilderGetQueryParameters - { - /// 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 MemberOfRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Count/CountRequestBuilder.cs deleted file mode 100644 index e388a9585a6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,134 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.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/messages/$count{?%24filter,%24search,includeHiddenMessages*}", 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/messages/$count{?%24filter,%24search,includeHiddenMessages*}", 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.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.Me.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.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 - /// Include Hidden Messages -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("includeHiddenMessages")] - public string? IncludeHiddenMessages { get; set; } -#nullable restore -#else - [QueryParameter("includeHiddenMessages")] - public string IncludeHiddenMessages { 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/Messages/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaGetResponse.cs deleted file mode 100644 index 7730984c4ee..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Messages.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Messages.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Message.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 19a838c4360..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,199 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,changeType*}", 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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,changeType*}", rawUrl) - { - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// - /// 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.Me.Messages.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("changeType")] - public string? ChangeType { get; set; } -#nullable restore -#else - [QueryParameter("changeType")] - public string ChangeType { get; set; } -#endif - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaResponse.cs deleted file mode 100644 index 8d25fb679d3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Messages.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Messages.Delta.DeltaGetResponse, 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.Me.Messages.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs deleted file mode 100644 index 63338083ad1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Messages.Item.Attachments.Count; -using Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession; -using Microsoft.Graph.Me.Messages.Item.Attachments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.Attachments -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createUploadSession method. - public global::Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession - { - get => new global::Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - /// The unique identifier of attachment - /// A - public global::Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachment%2Did", position); - return new global::Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments{?%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 AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of attachment objects. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// 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 - /// 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.Models.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of attachment objects. - /// - /// 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; - } - /// - /// 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 - /// 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.Models.Attachment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of attachment objects. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilderGetQueryParameters - { - /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Count/CountRequestBuilder.cs deleted file mode 100644 index a41ef3b7ff2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.Attachments.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/messages/{message%2Did}/attachments/$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/messages/{message%2Did}/attachments/$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.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.Me.Messages.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Attachments.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/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs deleted file mode 100644 index 63743047403..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.Attachments.CreateUploadSession -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateUploadSessionPostRequestBody : 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 AttachmentItem property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.AttachmentItem? AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.AttachmentItem AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public CreateUploadSessionPostRequestBody() - { - 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.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(global::Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs deleted file mode 100644 index ff8ed25b131..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.Attachments.CreateUploadSession -{ - /// - /// Provides operations to call the createUploadSession method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments/createUploadSession", rawUrl) - { - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// 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 PostAsync(global::Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// - /// 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.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs deleted file mode 100644 index 559fa78ca82..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ /dev/null @@ -1,175 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.Attachments.Item -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttachmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments/{attachment%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 AttachmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attachments 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attachments 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; - } - /// - /// Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment 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", "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.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyPostRequestBody.cs deleted file mode 100644 index e66951c73e4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Messages.Item.Copy -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyPostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyPostRequestBody() - { - 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.Me.Messages.Item.Copy.CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Item.Copy.CopyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyRequestBuilder.cs deleted file mode 100644 index f0973fceb89..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.Copy -{ - /// - /// Provides operations to call the copy method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/copy", 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 CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/copy", rawUrl) - { - } - /// - /// Copy a message to a folder within the user's mailbox. - /// 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 PostAsync(global::Microsoft.Graph.Me.Messages.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a message to a folder within the user's mailbox. - /// - /// 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.Me.Messages.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.Copy.CopyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Copy.CopyRequestBuilder(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 CopyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs deleted file mode 100644 index 48e43434c63..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs +++ /dev/null @@ -1,118 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.CreateForward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateForwardPostRequestBody() - { - 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.Me.Messages.Item.CreateForward.CreateForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs deleted file mode 100644 index 7698a46abe1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ /dev/null @@ -1,103 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.CreateForward -{ - /// - /// Provides operations to call the createForward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/createForward", 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 CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/createForward", rawUrl) - { - } - /// - /// Invoke action createForward - /// - /// 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.Me.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action createForward - /// - /// 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.Me.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardRequestBuilder(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 CreateForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs deleted file mode 100644 index 0d7b7707ed9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.CreateReply -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateReplyPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateReplyPostRequestBody() - { - 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.Me.Messages.Item.CreateReply.CreateReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs deleted file mode 100644 index edd8cd08036..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.CreateReply -{ - /// - /// Provides operations to call the createReply method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateReplyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateReplyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/createReply", 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 CreateReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/createReply", rawUrl) - { - } - /// - /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. - /// 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 PostAsync(global::Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. - /// - /// 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.Me.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyRequestBuilder(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 CreateReplyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs deleted file mode 100644 index 699322af7bd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.CreateReplyAll -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateReplyAllPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateReplyAllPostRequestBody() - { - 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.Me.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs deleted file mode 100644 index 89f8207165d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.CreateReplyAll -{ - /// - /// Provides operations to call the createReplyAll method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateReplyAllRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateReplyAllRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/createReplyAll", 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 CreateReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/createReplyAll", rawUrl) - { - } - /// - /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. - /// 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 PostAsync(global::Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply 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. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. - /// - /// 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.Me.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder(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 CreateReplyAllRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 2d646f9e98b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.Extensions.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/messages/{message%2Did}/extensions/$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/messages/{message%2Did}/extensions/$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.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.Me.Messages.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Extensions.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/Messages/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index 0e06b3b9c0b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Messages.Item.Extensions.Count; -using Microsoft.Graph.Me.Messages.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.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 - /// - /// 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// - /// 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 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 - /// 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index ed3777915d7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,231 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. - /// - /// 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 an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardPostRequestBody.cs deleted file mode 100644 index 6af54e484a8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardPostRequestBody.cs +++ /dev/null @@ -1,118 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.Forward -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ForwardPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// The ToRecipients property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ToRecipients - { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#nullable restore -#else - public List ToRecipients - { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ForwardPostRequestBody() - { - 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.Me.Messages.Item.Forward.ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Item.Forward.ForwardPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Recipient.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardRequestBuilder.cs deleted file mode 100644 index 487ce74dc5f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.Forward -{ - /// - /// Provides operations to call the forward method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ForwardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ForwardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/forward", 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 ForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/forward", rawUrl) - { - } - /// - /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. - /// - /// 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.Me.Messages.Item.Forward.ForwardPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.Forward.ForwardPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.Forward.ForwardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Forward.ForwardRequestBuilder(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 ForwardRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs deleted file mode 100644 index 9401e083370..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ /dev/null @@ -1,310 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Messages.Item.Attachments; -using Microsoft.Graph.Me.Messages.Item.Copy; -using Microsoft.Graph.Me.Messages.Item.CreateForward; -using Microsoft.Graph.Me.Messages.Item.CreateReply; -using Microsoft.Graph.Me.Messages.Item.CreateReplyAll; -using Microsoft.Graph.Me.Messages.Item.Extensions; -using Microsoft.Graph.Me.Messages.Item.Forward; -using Microsoft.Graph.Me.Messages.Item.Move; -using Microsoft.Graph.Me.Messages.Item.PermanentDelete; -using Microsoft.Graph.Me.Messages.Item.Reply; -using Microsoft.Graph.Me.Messages.Item.ReplyAll; -using Microsoft.Graph.Me.Messages.Item.Send; -using Microsoft.Graph.Me.Messages.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the attachments property of the microsoft.graph.message entity. - public global::Microsoft.Graph.Me.Messages.Item.Attachments.AttachmentsRequestBuilder Attachments - { - get => new global::Microsoft.Graph.Me.Messages.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copy method. - public global::Microsoft.Graph.Me.Messages.Item.Copy.CopyRequestBuilder Copy - { - get => new global::Microsoft.Graph.Me.Messages.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createForward method. - public global::Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardRequestBuilder CreateForward - { - get => new global::Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createReply method. - public global::Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyRequestBuilder CreateReply - { - get => new global::Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createReplyAll method. - public global::Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder CreateReplyAll - { - get => new global::Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.message entity. - public global::Microsoft.Graph.Me.Messages.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.Messages.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the forward method. - public global::Microsoft.Graph.Me.Messages.Item.Forward.ForwardRequestBuilder Forward - { - get => new global::Microsoft.Graph.Me.Messages.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the move method. - public global::Microsoft.Graph.Me.Messages.Item.Move.MoveRequestBuilder Move - { - get => new global::Microsoft.Graph.Me.Messages.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the permanentDelete method. - public global::Microsoft.Graph.Me.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete - { - get => new global::Microsoft.Graph.Me.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the reply method. - public global::Microsoft.Graph.Me.Messages.Item.Reply.ReplyRequestBuilder Reply - { - get => new global::Microsoft.Graph.Me.Messages.Item.Reply.ReplyRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the replyAll method. - public global::Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllRequestBuilder ReplyAll - { - get => new global::Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the send method. - public global::Microsoft.Graph.Me.Messages.Item.Send.SendRequestBuilder Send - { - get => new global::Microsoft.Graph.Me.Messages.Item.Send.SendRequestBuilder(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 MessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%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 MessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete eventMessage. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the event navigation property to get the associated event in an attendee's calendar. Currently, this operation returns event message bodies in only HTML format. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of an eventMessage object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.Message body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete eventMessage. - /// - /// 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 the properties and relationships of the eventMessage object. Apply the $expand parameter on the event navigation property to get the associated event in an attendee's calendar. Currently, this operation returns event message bodies in only HTML format. - /// - /// 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 properties of an eventMessage object. - /// - /// 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.Models.Message body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder(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 MessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the event navigation property to get the associated event in an attendee's calendar. Currently, this operation returns event message bodies in only HTML format. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessageItemRequestBuilderGetQueryParameters - { - /// 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 MessageItemRequestBuilderGetRequestConfiguration : 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 MessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MovePostRequestBody.cs deleted file mode 100644 index 7213dfa345c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MovePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Messages.Item.Move -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class MovePostRequestBody : 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 DestinationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#nullable restore -#else - public string DestinationId - { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public MovePostRequestBody() - { - 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.Me.Messages.Item.Move.MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Item.Move.MovePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "DestinationId", n => { DestinationId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MoveRequestBuilder.cs deleted file mode 100644 index 469bfccc6cc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MoveRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages.Item.Move -{ - /// - /// Provides operations to call the move method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MoveRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/move", 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 MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/move", rawUrl) - { - } - /// - /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. - /// 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 PostAsync(global::Microsoft.Graph.Me.Messages.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. - /// - /// 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.Me.Messages.Item.Move.MovePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.Move.MovePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.Move.MoveRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Move.MoveRequestBuilder(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 MoveRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs deleted file mode 100644 index c7a1b6d36fb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.PermanentDelete -{ - /// - /// Provides operations to call the permanentDelete method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/permanentDelete", 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 PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/permanentDelete", rawUrl) - { - } - /// - /// Invoke action permanentDelete - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action permanentDelete - /// - /// 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.Me.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder(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 PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyPostRequestBody.cs deleted file mode 100644 index a5abd7ffb7f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.Reply -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyPostRequestBody() - { - 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.Me.Messages.Item.Reply.ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Item.Reply.ReplyPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyRequestBuilder.cs deleted file mode 100644 index af519f26df8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.Reply -{ - /// - /// Provides operations to call the reply method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/reply", 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 ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/reply", rawUrl) - { - } - /// - /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.Reply.ReplyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.Reply.ReplyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. - /// - /// 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.Me.Messages.Item.Reply.ReplyPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.Reply.ReplyPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.Reply.ReplyRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Reply.ReplyRequestBuilder(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 ReplyRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs deleted file mode 100644 index d4ee84f1d41..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs +++ /dev/null @@ -1,100 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.ReplyAll -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReplyAllPostRequestBody : 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 Comment property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#nullable restore -#else - public string Comment - { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } - } -#endif - /// The Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ReplyAllPostRequestBody() - { - 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.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Comment", n => { Comment = n.GetStringValue(); } }, - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs deleted file mode 100644 index 1a0a24fc9ca..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.ReplyAll -{ - /// - /// Provides operations to call the replyAll method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReplyAllRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReplyAllRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/replyAll", 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 ReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/replyAll", rawUrl) - { - } - /// - /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. 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. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. - /// - /// 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.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllRequestBuilder(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 ReplyAllRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Send/SendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Send/SendRequestBuilder.cs deleted file mode 100644 index fe1a57b529f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Send/SendRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.Send -{ - /// - /// Provides operations to call the send method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SendRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SendRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/send", 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 SendRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/send", rawUrl) - { - } - /// - /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. - /// - /// 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.Me.Messages.Item.Send.SendRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Send.SendRequestBuilder(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 SendRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index e22854fc00f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,221 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Messages.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/$value{?includeHiddenMessages*}", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/$value{?includeHiddenMessages*}", rawUrl) - { - } - /// - /// Delete eventMessage. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of an eventMessage object. - /// Find more info here - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete eventMessage. - /// - /// 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 an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// Update the properties of an eventMessage object. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Messages.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilderGetQueryParameters - { - /// Include Hidden Messages -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("includeHiddenMessages")] - public string? IncludeHiddenMessages { get; set; } -#nullable restore -#else - [QueryParameter("includeHiddenMessages")] - public string IncludeHiddenMessages { 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs deleted file mode 100644 index 84a95f5a4da..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ /dev/null @@ -1,256 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Messages.Count; -using Microsoft.Graph.Me.Messages.Delta; -using Microsoft.Graph.Me.Messages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Messages -{ - /// - /// Provides operations to manage the messages property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Messages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Messages.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the messages property of the microsoft.graph.user entity. - /// The unique identifier of message - /// A - public global::Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("message%2Did", position); - return new global::Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder(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 MessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeHiddenMessages*}", 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 MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeHiddenMessages*}", rawUrl) - { - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageCollectionResponse.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 - /// - /// 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.Models.Message body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// - /// 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 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 - /// 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.Models.Message body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Message body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Messages.MessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MessagesRequestBuilderGetQueryParameters - { - /// 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 - /// Include Hidden Messages -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("includeHiddenMessages")] - public string? IncludeHiddenMessages { get; set; } -#nullable restore -#else - [QueryParameter("includeHiddenMessages")] - public string IncludeHiddenMessages { 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 MessagesRequestBuilderGetRequestConfiguration : 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 MessagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Count/CountRequestBuilder.cs deleted file mode 100644 index d86646f4544..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Notes.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/notes/$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/notes/$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.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.Me.Notes.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.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/Notes/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Notes/Delta/DeltaGetResponse.cs deleted file mode 100644 index dca1a0e47dc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Notes.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Notes.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Notes.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.Note.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 6533017d5c2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Notes.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of note objects that were added, updated, or deleted in the user's *Notes* folder since the last delta query. A delta function call for notes is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the notes. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Notes.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of note objects that were added, updated, or deleted in the user's *Notes* folder since the last delta query. A delta function call for notes is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the notes. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Notes.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of note objects that were added, updated, or deleted in the user's *Notes* folder since the last delta query. A delta function call for notes is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the notes. - /// - /// 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.Me.Notes.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of note objects that were added, updated, or deleted in the user's *Notes* folder since the last delta query. A delta function call for notes is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the notes. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Notes/Delta/DeltaResponse.cs deleted file mode 100644 index aed88846a82..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Notes.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Notes.Delta.DeltaGetResponse, 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.Me.Notes.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Notes.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/AttachmentsRequestBuilder.cs deleted file mode 100644 index 6f0111c57d4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/AttachmentsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Notes.Item.Attachments.Count; -using Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession; -using Microsoft.Graph.Me.Notes.Item.Attachments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Notes.Item.Attachments -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.note entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createUploadSession method. - public global::Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession - { - get => new global::Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.note entity. - /// The unique identifier of attachment - /// A - public global::Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachment%2Did", position); - return new global::Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/attachments{?%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 AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to attachments 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.Models.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. - /// - /// 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 attachments 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.Models.Attachment body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Attachment body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Notes.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilderGetQueryParameters - { - /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/Count/CountRequestBuilder.cs deleted file mode 100644 index bdb0e4e5dfe..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Notes.Item.Attachments.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/notes/{note%2Did}/attachments/$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/notes/{note%2Did}/attachments/$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.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.Me.Notes.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.Item.Attachments.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/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs deleted file mode 100644 index 6417e247f81..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Notes.Item.Attachments.CreateUploadSession -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateUploadSessionPostRequestBody : 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 AttachmentItem property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.AttachmentItem? AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.AttachmentItem AttachmentItem - { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public CreateUploadSessionPostRequestBody() - { - 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.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(global::Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs deleted file mode 100644 index 594cdff4e8c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Notes.Item.Attachments.CreateUploadSession -{ - /// - /// Provides operations to call the createUploadSession method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/attachments/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/attachments/createUploadSession", rawUrl) - { - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// 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 PostAsync(global::Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. - /// - /// 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.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/Item/AttachmentItemRequestBuilder.cs deleted file mode 100644 index df37900b8d9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ /dev/null @@ -1,174 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Notes.Item.Attachments.Item -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.note entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttachmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/attachments/{attachment%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 AttachmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attachments 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attachments 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; - } - /// - /// The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. - /// - /// 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.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index f1e92a37746..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Notes.Item.Extensions.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/notes/{note%2Did}/extensions/$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/notes/{note%2Did}/extensions/$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.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.Me.Notes.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.Item.Extensions.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/Notes/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index 762d431e294..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Notes.Item.Extensions.Count; -using Microsoft.Graph.Me.Notes.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Notes.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.note entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.note entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the note. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the note. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Notes.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the note. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 12bcb0b18fb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Notes.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.note entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the note. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the note. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the note. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/Item/NoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/Item/NoteItemRequestBuilder.cs deleted file mode 100644 index c17aae18184..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/Item/NoteItemRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Notes.Item.Attachments; -using Microsoft.Graph.Me.Notes.Item.Extensions; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Notes.Item -{ - /// - /// Provides operations to manage the notes property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class NoteItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the attachments property of the microsoft.graph.note entity. - public global::Microsoft.Graph.Me.Notes.Item.Attachments.AttachmentsRequestBuilder Attachments - { - get => new global::Microsoft.Graph.Me.Notes.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.note entity. - public global::Microsoft.Graph.Me.Notes.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.Notes.Item.Extensions.ExtensionsRequestBuilder(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 NoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%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 NoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes/{note%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property notes 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notes in the user's Notes folder. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Note.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property notes 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.Models.Note body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Note body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Note.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property notes 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; - } - /// - /// The notes in the user's Notes folder. Read-only. Nullable. - /// - /// 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 notes 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.Models.Note body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Note body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder(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 NoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The notes in the user's Notes folder. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class NoteItemRequestBuilderGetQueryParameters - { - /// 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 NoteItemRequestBuilderGetRequestConfiguration : 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 NoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Notes/NotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Notes/NotesRequestBuilder.cs deleted file mode 100644 index 4dc11c706da..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Notes/NotesRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Notes.Count; -using Microsoft.Graph.Me.Notes.Delta; -using Microsoft.Graph.Me.Notes.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Notes -{ - /// - /// Provides operations to manage the notes property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class NotesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Notes.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Notes.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Notes.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Notes.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the notes property of the microsoft.graph.user entity. - /// The unique identifier of note - /// A - public global::Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("note%2Did", position); - return new global::Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder(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 NotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes{?%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 NotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/notes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of the note objects in the user's *Notes* folder. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.NoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new note in the user's *Notes* folder. - /// 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 PostAsync(global::Microsoft.Graph.Models.Note body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Note body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Note.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of the note objects in the user's *Notes* folder. - /// - /// 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 a new note in the user's *Notes* folder. - /// - /// 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.Models.Note body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Note body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Notes.NotesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Notes.NotesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of the note objects in the user's *Notes* folder. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class NotesRequestBuilderGetQueryParameters - { - /// 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 NotesRequestBuilderGetRequestConfiguration : 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 NotesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Count/CountRequestBuilder.cs deleted file mode 100644 index 61ccfd13358..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Oauth2PermissionGrants.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/oauth2PermissionGrants/$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/oauth2PermissionGrants/$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.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.Me.Oauth2PermissionGrants.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Oauth2PermissionGrants.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/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs deleted file mode 100644 index 174bc05cf1b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Oauth2PermissionGrants.Item -{ - /// - /// Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OAuth2PermissionGrantItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OAuth2PermissionGrantItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/oauth2PermissionGrants/{oAuth2PermissionGrant%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 OAuth2PermissionGrantItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/oauth2PermissionGrants/{oAuth2PermissionGrant%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get oauth2PermissionGrants 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get oauth2PermissionGrants 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.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get oauth2PermissionGrants from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OAuth2PermissionGrantItemRequestBuilderGetQueryParameters - { - /// 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 OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs deleted file mode 100644 index e19e6309c8b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Oauth2PermissionGrants.Count; -using Microsoft.Graph.Me.Oauth2PermissionGrants.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Oauth2PermissionGrants -{ - /// - /// Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class Oauth2PermissionGrantsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.user entity. - /// The unique identifier of oAuth2PermissionGrant - /// A - public global::Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("oAuth2PermissionGrant%2Did", position); - return new global::Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder(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 Oauth2PermissionGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/oauth2PermissionGrants{?%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 Oauth2PermissionGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/oauth2PermissionGrants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get oauth2PermissionGrants 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OAuth2PermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get oauth2PermissionGrants 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.Me.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get oauth2PermissionGrants from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class Oauth2PermissionGrantsRequestBuilderGetQueryParameters - { - /// 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 Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.cs deleted file mode 100644 index 98383d1e6a0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnPremisesSyncBehavior -{ - /// - /// Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnPremisesSyncBehaviorRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OnPremisesSyncBehaviorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onPremisesSyncBehavior{?%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 OnPremisesSyncBehaviorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onPremisesSyncBehavior{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property onPremisesSyncBehavior 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get onPremisesSyncBehavior 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnPremisesSyncBehavior.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property onPremisesSyncBehavior 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.Models.OnPremisesSyncBehavior body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnPremisesSyncBehavior body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnPremisesSyncBehavior.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property onPremisesSyncBehavior 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 onPremisesSyncBehavior 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 onPremisesSyncBehavior 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.Models.OnPremisesSyncBehavior body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnPremisesSyncBehavior body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder(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 OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get onPremisesSyncBehavior from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnPremisesSyncBehaviorRequestBuilderGetQueryParameters - { - /// 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 OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration : 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 OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Count/CountRequestBuilder.cs deleted file mode 100644 index 0205d0066f3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.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/onenote/notebooks/$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/onenote/notebooks/$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.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.Me.Onenote.Notebooks.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.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/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs deleted file mode 100644 index 1de81b8eb75..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Onenote.Notebooks.GetNotebookFromWebUrl -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetNotebookFromWebUrlPostRequestBody : 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 webUrl property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? WebUrl - { - get { return BackingStore?.Get("webUrl"); } - set { BackingStore?.Set("webUrl", value); } - } -#nullable restore -#else - public string WebUrl - { - get { return BackingStore?.Get("webUrl"); } - set { BackingStore?.Set("webUrl", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public GetNotebookFromWebUrlPostRequestBody() - { - 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.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "webUrl", n => { WebUrl = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("webUrl", WebUrl); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs deleted file mode 100644 index 2c0d878f0bf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.GetNotebookFromWebUrl -{ - /// - /// Provides operations to call the getNotebookFromWebUrl method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetNotebookFromWebUrlRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetNotebookFromWebUrlRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/getNotebookFromWebUrl", 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 GetNotebookFromWebUrlRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/getNotebookFromWebUrl", rawUrl) - { - } - /// - /// Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. - /// - /// 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.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlRequestBuilder(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 GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs deleted file mode 100644 index bd8457736f2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetRecentNotebooksWithIncludePersonalNotebooksGetResponse : global::Microsoft.Graph.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.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksGetResponse(); - } - /// - /// 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.Models.RecentNotebook.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs deleted file mode 100644 index a083166e302..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs +++ /dev/null @@ -1,161 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks -{ - /// - /// Provides operations to call the getRecentNotebooks method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Usage: includePersonalNotebooks={includePersonalNotebooks} - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, bool? includePersonalNotebooks = default) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/getRecentNotebooks(includePersonalNotebooks={includePersonalNotebooks}){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - if (includePersonalNotebooks != null) PathParameters.Add("includePersonalNotebooks", includePersonalNotebooks); - } - /// - /// 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 GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/getRecentNotebooks(includePersonalNotebooks={includePersonalNotebooks}){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of recentNotebook instances that have been accessed by the signed-in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of recentNotebook instances that have been accessed by the signed-in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of recentNotebook instances that have been accessed by the signed-in user. - /// - /// 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.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of recentNotebook instances that have been accessed by the signed-in user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters - { - /// 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 GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksResponse.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksResponse.cs deleted file mode 100644 index 55fb58104b4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks -{ - [Obsolete("This class is obsolete. Use GetRecentNotebooksWithIncludePersonalNotebooksGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetRecentNotebooksWithIncludePersonalNotebooksResponse : global::Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksGetResponse, 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.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs deleted file mode 100644 index 345128b2e71..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#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.Me.Onenote.Notebooks.Item.CopyNotebook -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyNotebookPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The notebookFolder property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? NotebookFolder - { - get { return BackingStore?.Get("notebookFolder"); } - set { BackingStore?.Set("notebookFolder", value); } - } -#nullable restore -#else - public string NotebookFolder - { - get { return BackingStore?.Get("notebookFolder"); } - set { BackingStore?.Set("notebookFolder", value); } - } -#endif - /// The renameAs property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#nullable restore -#else - public string RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyNotebookPostRequestBody() - { - 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.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "notebookFolder", n => { NotebookFolder = n.GetStringValue(); } }, - { "renameAs", n => { RenameAs = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("notebookFolder", NotebookFolder); - writer.WriteStringValue("renameAs", RenameAs); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs deleted file mode 100644 index 8d68084095b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.CopyNotebook -{ - /// - /// Provides operations to call the copyNotebook method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/copyNotebook", 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 CopyNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/copyNotebook", rawUrl) - { - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookRequestBuilder(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 CopyNotebookRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs deleted file mode 100644 index a989b39a3b7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs +++ /dev/null @@ -1,248 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item -{ - /// - /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class NotebookItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the copyNotebook method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookRequestBuilder CopyNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.SectionGroupsRequestBuilder SectionGroups - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.SectionGroupsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.SectionsRequestBuilder Sections - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.SectionsRequestBuilder(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 NotebookItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%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 NotebookItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property notebooks 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of a notebook object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property notebooks 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.Models.Notebook body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Notebook body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property notebooks 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; - } - /// - /// Retrieve the properties and relationships of a notebook 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; - } - /// - /// Update the navigation property notebooks 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.Models.Notebook body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Notebook body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder(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 NotebookItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve the properties and relationships of a notebook object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class NotebookItemRequestBuilderGetQueryParameters - { - /// 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 NotebookItemRequestBuilderGetRequestConfiguration : 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 NotebookItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs deleted file mode 100644 index 56294887eab..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.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/onenote/notebooks/{notebook%2Did}/sectionGroups/$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/onenote/notebooks/{notebook%2Did}/sectionGroups/$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.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.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.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/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index f4345bf1a19..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the section group. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the section group. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the section group. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs deleted file mode 100644 index e49f66c67f7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup -{ - /// - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/parentSectionGroup{?%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 ParentSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/parentSectionGroup{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section group that contains the section group. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section group that contains the section group. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section group that contains the section group. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilderGetQueryParameters - { - /// 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 ParentSectionGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs deleted file mode 100644 index 068ce987021..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ /dev/null @@ -1,253 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item -{ - /// - /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the parentNotebook property of the microsoft.graph.sectionGroup entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.sectionGroup entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder ParentSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder SectionGroups - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.SectionsRequestBuilder Sections - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.SectionsRequestBuilder(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 SectionGroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%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 SectionGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sectionGroups 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section groups in the notebook. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sectionGroups 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.Models.SectionGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.SectionGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sectionGroups 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; - } - /// - /// The section groups in the notebook. Read-only. Nullable. - /// - /// 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 sectionGroups 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.Models.SectionGroup body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SectionGroup body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder(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 SectionGroupItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The section groups in the notebook. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupItemRequestBuilderGetQueryParameters - { - /// 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 SectionGroupItemRequestBuilderGetRequestConfiguration : 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 SectionGroupItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs deleted file mode 100644 index 4f7ab7b8aed..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.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/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sectionGroups/$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/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sectionGroups/$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.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.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/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs deleted file mode 100644 index 3e2d92a5c62..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item -{ - /// - /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SectionGroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sectionGroups/{sectionGroup%2Did1}{?%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 SectionGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sectionGroups/{sectionGroup%2Did1}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section groups in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section groups in the section. Read-only. Nullable. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section groups in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupItemRequestBuilderGetQueryParameters - { - /// 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 SectionGroupItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs deleted file mode 100644 index c689ab62e8b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups -{ - /// - /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. - /// The unique identifier of sectionGroup - /// A - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("sectionGroup%2Did1", position); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder(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 SectionGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sectionGroups{?%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 SectionGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sectionGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The section groups in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section groups in the section. Read-only. Nullable. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section groups in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupsRequestBuilderGetQueryParameters - { - /// 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 SectionGroupsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs deleted file mode 100644 index a627f98ebe3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.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/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/$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/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/$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.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.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/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs deleted file mode 100644 index 358d0a2f6a5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToNotebookPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The renameAs property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#nullable restore -#else - public string RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToNotebookPostRequestBody() - { - 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "renameAs", n => { RenameAs = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("renameAs", RenameAs); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs deleted file mode 100644 index 50eba4dce87..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook -{ - /// - /// Provides operations to call the copyToNotebook method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/copyToNotebook", 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 CopyToNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/copyToNotebook", rawUrl) - { - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder(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 CopyToNotebookRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs deleted file mode 100644 index 840fccba14b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToSectionGroupPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The renameAs property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#nullable restore -#else - public string RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToSectionGroupPostRequestBody() - { - 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "renameAs", n => { RenameAs = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("renameAs", RenameAs); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs deleted file mode 100644 index ab278191621..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup -{ - /// - /// Provides operations to call the copyToSectionGroup method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/copyToSectionGroup", 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 CopyToSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/copyToSectionGroup", rawUrl) - { - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder(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 CopyToSectionGroupRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs deleted file mode 100644 index 29f5d0a64e1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ /dev/null @@ -1,259 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item -{ - /// - /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteSectionItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the copyToNotebook method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder CopyToNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copyToSectionGroup method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder CopyToSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder Pages - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder ParentSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(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 OnenoteSectionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%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 OnenoteSectionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sections 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The sections in the section group. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sections 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; - } - /// - /// The sections in the section group. Read-only. Nullable. - /// - /// 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 sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder(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 OnenoteSectionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The sections in the section group. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteSectionItemRequestBuilderGetQueryParameters - { - /// 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 OnenoteSectionItemRequestBuilderGetRequestConfiguration : 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 OnenoteSectionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs deleted file mode 100644 index a978c6da846..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.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/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/$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/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/$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.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.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/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index 44746c4bcee..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/content", rawUrl) - { - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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; - } - /// - /// The page's HTML content. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The page's HTML content. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs deleted file mode 100644 index 8b7c9604b57..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ /dev/null @@ -1,135 +0,0 @@ -// -#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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToSectionPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToSectionPostRequestBody() - { - 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs deleted file mode 100644 index b7ee94524d8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection -{ - /// - /// Provides operations to call the copyToSection method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/copyToSection", 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 CopyToSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/copyToSection", rawUrl) - { - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(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 CopyToSectionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs deleted file mode 100644 index 92cd0342145..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copyToSection method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder CopyToSection - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the onenotePatchContent method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder OnenotePatchContent - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder ParentSection - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the preview method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder Preview - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder(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 OnenotePageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%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 OnenotePageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property pages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property pages 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.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property pages 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; - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// 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 pages 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder(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 OnenotePageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilderGetQueryParameters - { - /// 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 OnenotePageItemRequestBuilderGetRequestConfiguration : 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 OnenotePageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs deleted file mode 100644 index 047f4419399..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class OnenotePatchContentPostRequestBody : 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 commands property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Commands - { - get { return BackingStore?.Get?>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#nullable restore -#else - public List Commands - { - get { return BackingStore?.Get>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public OnenotePatchContentPostRequestBody() - { - 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "commands", n => { Commands = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("commands", Commands); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs deleted file mode 100644 index c7636371f2a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent -{ - /// - /// Provides operations to call the onenotePatchContent method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePatchContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OnenotePatchContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/onenotePatchContent", 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 OnenotePatchContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/onenotePatchContent", rawUrl) - { - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(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 OnenotePatchContentRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index 2c7ae5f2669..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs deleted file mode 100644 index 8c80ce02fee..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection -{ - /// - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentSection{?%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 ParentSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentSection{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilderGetQueryParameters - { - /// 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 ParentSectionRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs deleted file mode 100644 index fd78e20a6fe..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ /dev/null @@ -1,98 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview -{ - /// - /// Provides operations to call the preview method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PreviewRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PreviewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/preview()", 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 PreviewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/preview()", rawUrl) - { - } - /// - /// Invoke function preview - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function preview - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder(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 PreviewRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs deleted file mode 100644 index f6ba35ed625..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// The unique identifier of onenotePage - /// A - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenotePage%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder(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 PagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages{?%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 PagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to pages 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.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// 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 pages 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilderGetQueryParameters - { - /// 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 PagesRequestBuilderGetRequestConfiguration : 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 PagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index 92a7804a95a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the section. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the section. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the section. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs deleted file mode 100644 index 863393a76d2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup -{ - /// - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/parentSectionGroup{?%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 ParentSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/parentSectionGroup{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section group that contains the section. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section group that contains the section. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section group that contains the section. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilderGetQueryParameters - { - /// 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 ParentSectionGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs deleted file mode 100644 index 5e9781efc48..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections -{ - /// - /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. - /// The unique identifier of onenoteSection - /// A - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenoteSection%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder(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 SectionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections{?%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 SectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The sections in the section group. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The sections in the section group. Read-only. Nullable. - /// - /// 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 sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.SectionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.SectionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The sections in the section group. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionsRequestBuilderGetQueryParameters - { - /// 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 SectionsRequestBuilderGetRequestConfiguration : 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 SectionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs deleted file mode 100644 index 8032a13cdc7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.SectionGroups -{ - /// - /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. - /// The unique identifier of sectionGroup - /// A - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("sectionGroup%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder(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 SectionGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups{?%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 SectionGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sectionGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of section groups from the specified notebook. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new section group in the specified notebook. - /// 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 PostAsync(global::Microsoft.Graph.Models.SectionGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.SectionGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of section groups from the specified notebook. - /// - /// 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 a new section group in the specified notebook. - /// - /// 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.Models.SectionGroup body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SectionGroup body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.SectionGroupsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.SectionGroupsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of section groups from the specified notebook. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupsRequestBuilderGetQueryParameters - { - /// 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 SectionGroupsRequestBuilderGetRequestConfiguration : 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 SectionGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs deleted file mode 100644 index 450199c884d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.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/onenote/notebooks/{notebook%2Did}/sections/$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/onenote/notebooks/{notebook%2Did}/sections/$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.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.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.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/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs deleted file mode 100644 index 41fa8225f7d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#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.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToNotebookPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The renameAs property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#nullable restore -#else - public string RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToNotebookPostRequestBody() - { - 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.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "renameAs", n => { RenameAs = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("renameAs", RenameAs); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs deleted file mode 100644 index 9a762e90052..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook -{ - /// - /// Provides operations to call the copyToNotebook method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/copyToNotebook", 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 CopyToNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/copyToNotebook", rawUrl) - { - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder(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 CopyToNotebookRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs deleted file mode 100644 index 8cfbd2fb1ce..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#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.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToSectionGroupPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The renameAs property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#nullable restore -#else - public string RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToSectionGroupPostRequestBody() - { - 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.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "renameAs", n => { RenameAs = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("renameAs", RenameAs); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs deleted file mode 100644 index f21e0e21cc5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup -{ - /// - /// Provides operations to call the copyToSectionGroup method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/copyToSectionGroup", 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 CopyToSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/copyToSectionGroup", rawUrl) - { - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder(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 CopyToSectionGroupRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs deleted file mode 100644 index 311f1367510..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ /dev/null @@ -1,259 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item -{ - /// - /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteSectionItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the copyToNotebook method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder CopyToNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copyToSectionGroup method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder CopyToSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.PagesRequestBuilder Pages - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.PagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder ParentSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(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 OnenoteSectionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%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 OnenoteSectionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sections 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The sections in the notebook. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sections 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; - } - /// - /// The sections in the notebook. Read-only. Nullable. - /// - /// 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 sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder(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 OnenoteSectionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The sections in the notebook. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteSectionItemRequestBuilderGetQueryParameters - { - /// 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 OnenoteSectionItemRequestBuilderGetRequestConfiguration : 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 OnenoteSectionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs deleted file mode 100644 index d6bf9758ffb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.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/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/$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/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/$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.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.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/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index c684a855caf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/content", rawUrl) - { - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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; - } - /// - /// The page's HTML content. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The page's HTML content. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs deleted file mode 100644 index 8453aff9127..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ /dev/null @@ -1,135 +0,0 @@ -// -#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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToSectionPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToSectionPostRequestBody() - { - 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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs deleted file mode 100644 index 407c9c73c4f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection -{ - /// - /// Provides operations to call the copyToSection method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/copyToSection", 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 CopyToSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/copyToSection", rawUrl) - { - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(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 CopyToSectionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs deleted file mode 100644 index c39c4cb0b4e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copyToSection method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder CopyToSection - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the onenotePatchContent method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder OnenotePatchContent - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder ParentSection - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the preview method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder Preview - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder(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 OnenotePageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%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 OnenotePageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property pages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property pages 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.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property pages 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; - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// 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 pages 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder(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 OnenotePageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilderGetQueryParameters - { - /// 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 OnenotePageItemRequestBuilderGetRequestConfiguration : 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 OnenotePageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs deleted file mode 100644 index 5a905cd784f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class OnenotePatchContentPostRequestBody : 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 commands property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Commands - { - get { return BackingStore?.Get?>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#nullable restore -#else - public List Commands - { - get { return BackingStore?.Get>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public OnenotePatchContentPostRequestBody() - { - 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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "commands", n => { Commands = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("commands", Commands); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs deleted file mode 100644 index f8d4a0caff0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent -{ - /// - /// Provides operations to call the onenotePatchContent method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePatchContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OnenotePatchContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/onenotePatchContent", 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 OnenotePatchContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/onenotePatchContent", rawUrl) - { - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(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 OnenotePatchContentRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index 5d3ef731efd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs deleted file mode 100644 index 032024e6b47..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection -{ - /// - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentSection{?%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 ParentSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentSection{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilderGetQueryParameters - { - /// 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 ParentSectionRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs deleted file mode 100644 index 1c3f25441ee..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ /dev/null @@ -1,98 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview -{ - /// - /// Provides operations to call the preview method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PreviewRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PreviewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/preview()", 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 PreviewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/preview()", rawUrl) - { - } - /// - /// Invoke function preview - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function preview - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder(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 PreviewRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs deleted file mode 100644 index 5458aa7fc75..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.Pages -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// The unique identifier of onenotePage - /// A - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenotePage%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder(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 PagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages{?%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 PagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to pages 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.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// 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 pages 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.PagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.PagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilderGetQueryParameters - { - /// 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 PagesRequestBuilderGetRequestConfiguration : 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 PagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index 884ab3f2dd4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the section. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the section. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the section. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs deleted file mode 100644 index c44a5cde214..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup -{ - /// - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/parentSectionGroup{?%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 ParentSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/parentSectionGroup{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section group that contains the section. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section group that contains the section. Read-only. - /// - /// 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.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section group that contains the section. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilderGetQueryParameters - { - /// 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 ParentSectionGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs deleted file mode 100644 index affd84b15a3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count; -using Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks.Item.Sections -{ - /// - /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. - /// The unique identifier of onenoteSection - /// A - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenoteSection%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder(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 SectionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections{?%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 SectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks/{notebook%2Did}/sections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of onenoteSection objects from the specified notebook. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new onenoteSection in the specified notebook. - /// 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 PostAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of onenoteSection objects from the specified notebook. - /// - /// 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 a new onenoteSection in the specified notebook. - /// - /// 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.Models.OnenoteSection body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.SectionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.SectionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of onenoteSection objects from the specified notebook. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionsRequestBuilderGetQueryParameters - { - /// 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 SectionsRequestBuilderGetRequestConfiguration : 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 SectionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/NotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/NotebooksRequestBuilder.cs deleted file mode 100644 index db60754436d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/NotebooksRequestBuilder.cs +++ /dev/null @@ -1,257 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks.Count; -using Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl; -using Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks; -using Microsoft.Graph.Me.Onenote.Notebooks.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Notebooks -{ - /// - /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class NotebooksRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getNotebookFromWebUrl method. - public global::Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlRequestBuilder GetNotebookFromWebUrl - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. - /// The unique identifier of notebook - /// A - public global::Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("notebook%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder(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 NotebooksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks{?%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 NotebooksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/notebooks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of notebook objects. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Provides operations to call the getRecentNotebooks method. - /// - /// A - /// Usage: includePersonalNotebooks={includePersonalNotebooks} - public global::Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder GetRecentNotebooksWithIncludePersonalNotebooks(bool? includePersonalNotebooks) - { - if(ReferenceEquals(includePersonalNotebooks, null)) throw new ArgumentNullException(nameof(includePersonalNotebooks)); - return new global::Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(PathParameters, RequestAdapter, includePersonalNotebooks); - } - /// - /// Create a new OneNote notebook. - /// 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 PostAsync(global::Microsoft.Graph.Models.Notebook body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Notebook body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of notebook objects. - /// - /// 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 a new OneNote notebook. - /// - /// 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.Models.Notebook body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Notebook body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Notebooks.NotebooksRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Notebooks.NotebooksRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of notebook objects. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class NotebooksRequestBuilderGetQueryParameters - { - /// 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 NotebooksRequestBuilderGetRequestConfiguration : 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 NotebooksRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/OnenoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/OnenoteRequestBuilder.cs deleted file mode 100644 index d6532c72ed1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/OnenoteRequestBuilder.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Notebooks; -using Microsoft.Graph.Me.Onenote.Operations; -using Microsoft.Graph.Me.Onenote.Pages; -using Microsoft.Graph.Me.Onenote.Resources; -using Microsoft.Graph.Me.Onenote.SectionGroups; -using Microsoft.Graph.Me.Onenote.Sections; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote -{ - /// - /// Provides operations to manage the onenote property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. - public global::Microsoft.Graph.Me.Onenote.Notebooks.NotebooksRequestBuilder Notebooks - { - get => new global::Microsoft.Graph.Me.Onenote.Notebooks.NotebooksRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. - public global::Microsoft.Graph.Me.Onenote.Operations.OperationsRequestBuilder Operations - { - get => new global::Microsoft.Graph.Me.Onenote.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. - public global::Microsoft.Graph.Me.Onenote.Pages.PagesRequestBuilder Pages - { - get => new global::Microsoft.Graph.Me.Onenote.Pages.PagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. - public global::Microsoft.Graph.Me.Onenote.Resources.ResourcesRequestBuilder Resources - { - get => new global::Microsoft.Graph.Me.Onenote.Resources.ResourcesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.SectionGroupsRequestBuilder SectionGroups - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.SectionGroupsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. - public global::Microsoft.Graph.Me.Onenote.Sections.SectionsRequestBuilder Sections - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.SectionsRequestBuilder(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 OnenoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote{?%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 OnenoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property onenote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get onenote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property onenote 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.Models.Onenote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Onenote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property onenote 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 onenote 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 onenote 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.Models.Onenote body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Onenote body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.OnenoteRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.OnenoteRequestBuilder(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 OnenoteRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get onenote from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteRequestBuilderGetQueryParameters - { - /// 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 OnenoteRequestBuilderGetRequestConfiguration : 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 OnenoteRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Count/CountRequestBuilder.cs deleted file mode 100644 index f9eb2a40cdb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Operations.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/operations/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/operations/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.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.Me.Onenote.Operations.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs deleted file mode 100644 index 7947f0aaab7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs +++ /dev/null @@ -1,230 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Operations.Item -{ - /// - /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteOperationItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OnenoteOperationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/operations/{onenoteOperation%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 OnenoteOperationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/operations/{onenoteOperation%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property operations 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property operations 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.Models.OnenoteOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenoteOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property operations 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 the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property operations in 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.Models.OnenoteOperation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenoteOperation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder(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 OnenoteOperationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteOperationItemRequestBuilderGetQueryParameters - { - /// 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 OnenoteOperationItemRequestBuilderGetRequestConfiguration : 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 OnenoteOperationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Operations/OperationsRequestBuilder.cs deleted file mode 100644 index 3e1be73eb12..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/OperationsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Operations.Count; -using Microsoft.Graph.Me.Onenote.Operations.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Operations -{ - /// - /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. - /// The unique identifier of onenoteOperation - /// A - public global::Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenoteOperation%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OperationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to operations 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.Models.OnenoteOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenoteOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to operations for 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.Models.OnenoteOperation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenoteOperation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Operations.OperationsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Operations.OperationsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OperationsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Count/CountRequestBuilder.cs deleted file mode 100644 index f6998c932f8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Pages.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/onenote/pages/$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/onenote/pages/$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.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.Me.Onenote.Pages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Pages.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/Onenote/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index 62c245744bd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,203 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Pages.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/content", rawUrl) - { - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the content of a OneNote page. - /// Find more info here - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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; - } - /// - /// The page's HTML content. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// Update the content of a OneNote page. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Onenote.Pages.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs deleted file mode 100644 index 77870647124..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ /dev/null @@ -1,135 +0,0 @@ -// -#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.Me.Onenote.Pages.Item.CopyToSection -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToSectionPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToSectionPostRequestBody() - { - 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.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs deleted file mode 100644 index 26e5f62d990..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Pages.Item.CopyToSection -{ - /// - /// Provides operations to call the copyToSection method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/copyToSection", 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 CopyToSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/copyToSection", rawUrl) - { - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(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 CopyToSectionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs deleted file mode 100644 index a16dd70afb3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs +++ /dev/null @@ -1,267 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Pages.Item.Content; -using Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection; -using Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent; -using Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection; -using Microsoft.Graph.Me.Onenote.Pages.Item.Preview; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Pages.Item -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Onenote.Pages.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Onenote.Pages.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copyToSection method. - public global::Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionRequestBuilder CopyToSection - { - get => new global::Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the onenotePatchContent method. - public global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder OnenotePatchContent - { - get => new global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.ParentSectionRequestBuilder ParentSection - { - get => new global::Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.ParentSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the preview method. - public global::Microsoft.Graph.Me.Onenote.Pages.Item.Preview.PreviewRequestBuilder Preview - { - get => new global::Microsoft.Graph.Me.Onenote.Pages.Item.Preview.PreviewRequestBuilder(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 OnenotePageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%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 OnenotePageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete a OneNote page. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property pages 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.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a OneNote page. - /// - /// 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; - } - /// - /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. - /// - /// 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 pages 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder(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 OnenotePageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilderGetQueryParameters - { - /// 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 OnenotePageItemRequestBuilderGetRequestConfiguration : 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 OnenotePageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs deleted file mode 100644 index 1e721e87d40..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Pages.Item.OnenotePatchContent -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class OnenotePatchContentPostRequestBody : 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 commands property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Commands - { - get { return BackingStore?.Get?>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#nullable restore -#else - public List Commands - { - get { return BackingStore?.Get>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public OnenotePatchContentPostRequestBody() - { - 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.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "commands", n => { Commands = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("commands", Commands); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs deleted file mode 100644 index c27bbc45d36..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Pages.Item.OnenotePatchContent -{ - /// - /// Provides operations to call the onenotePatchContent method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePatchContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OnenotePatchContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/onenotePatchContent", 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 OnenotePatchContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/onenotePatchContent", rawUrl) - { - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(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 OnenotePatchContentRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index 64651e36a38..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Pages.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Me.Onenote.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs deleted file mode 100644 index c7290b9af43..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Pages.Item.ParentSection -{ - /// - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/parentSection{?%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 ParentSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/parentSection{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Me.Onenote.Pages.Item.ParentSection.ParentSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.ParentSectionRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilderGetQueryParameters - { - /// 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 ParentSectionRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs deleted file mode 100644 index 09102a5697b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs +++ /dev/null @@ -1,98 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Pages.Item.Preview -{ - /// - /// Provides operations to call the preview method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PreviewRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PreviewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/preview()", 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 PreviewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages/{onenotePage%2Did}/preview()", rawUrl) - { - } - /// - /// Invoke function preview - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function preview - /// - /// 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.Me.Onenote.Pages.Item.Preview.PreviewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.Preview.PreviewRequestBuilder(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 PreviewRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/PagesRequestBuilder.cs deleted file mode 100644 index 109a91c3cb6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/PagesRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Pages.Count; -using Microsoft.Graph.Me.Onenote.Pages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Pages -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. - /// The unique identifier of onenotePage - /// A - public global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenotePage%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder(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 PagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages{?%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 PagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/pages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of page objects. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. - /// 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 PostAsync(global::Microsoft.Graph.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of page objects. - /// - /// 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 a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. - /// - /// 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Pages.PagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Pages.PagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of page objects. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilderGetQueryParameters - { - /// 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 PagesRequestBuilderGetRequestConfiguration : 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 PagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Count/CountRequestBuilder.cs deleted file mode 100644 index 28efcc527c4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Resources.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/onenote/resources/$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/onenote/resources/$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.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.Me.Onenote.Resources.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Resources.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/Onenote/Resources/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index d257c597bb1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,203 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Resources.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/resources/{onenoteResource%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/resources/{onenoteResource%2Did}/content", rawUrl) - { - } - /// - /// The content stream - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the binary data of a file or image resource object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream - /// - /// 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; - } - /// - /// Retrieve the binary data of a file or image resource 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The content stream - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Onenote.Resources.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Resources.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs deleted file mode 100644 index fd26f14ac6f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Resources.Item.Content; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Resources.Item -{ - /// - /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteResourceItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Onenote.Resources.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Onenote.Resources.Item.Content.ContentRequestBuilder(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 OnenoteResourceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/resources/{onenoteResource%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 OnenoteResourceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/resources/{onenoteResource%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property resources 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property resources 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.Models.OnenoteResource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenoteResource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property resources 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; - } - /// - /// The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. - /// - /// 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 resources 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.Models.OnenoteResource body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenoteResource body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder(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 OnenoteResourceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteResourceItemRequestBuilderGetQueryParameters - { - /// 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 OnenoteResourceItemRequestBuilderGetRequestConfiguration : 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 OnenoteResourceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/ResourcesRequestBuilder.cs deleted file mode 100644 index 3a067c8f35d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/ResourcesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Resources.Count; -using Microsoft.Graph.Me.Onenote.Resources.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Resources -{ - /// - /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourcesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. - /// The unique identifier of onenoteResource - /// A - public global::Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenoteResource%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder(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 ResourcesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/resources{?%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 ResourcesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/resources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to resources 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.Models.OnenoteResource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenoteResource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. - /// - /// 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 resources 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.Models.OnenoteResource body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenoteResource body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Resources.ResourcesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Resources.ResourcesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourcesRequestBuilderGetQueryParameters - { - /// 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 ResourcesRequestBuilderGetRequestConfiguration : 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 ResourcesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Count/CountRequestBuilder.cs deleted file mode 100644 index fab94b542c2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.SectionGroups.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/onenote/sectionGroups/$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/onenote/sectionGroups/$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.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.Me.Onenote.SectionGroups.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.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/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index defcab0b5b9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the section group. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the section group. Read-only. - /// - /// 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.Me.Onenote.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the section group. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs deleted file mode 100644 index e3b67bedf45..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.ParentSectionGroup -{ - /// - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/parentSectionGroup{?%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 ParentSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/parentSectionGroup{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section group that contains the section group. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section group that contains the section group. Read-only. - /// - /// 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.Me.Onenote.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section group that contains the section group. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilderGetQueryParameters - { - /// 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 ParentSectionGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs deleted file mode 100644 index d1852369bd1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ /dev/null @@ -1,254 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item -{ - /// - /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the parentNotebook property of the microsoft.graph.sectionGroup entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.sectionGroup entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder ParentSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder SectionGroups - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.SectionsRequestBuilder Sections - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.SectionsRequestBuilder(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 SectionGroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%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 SectionGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sectionGroups 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of a sectionGroup object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sectionGroups 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.Models.SectionGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.SectionGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sectionGroups 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; - } - /// - /// Retrieve the properties and relationships of a sectionGroup 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; - } - /// - /// Update the navigation property sectionGroups 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.Models.SectionGroup body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SectionGroup body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder(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 SectionGroupItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve the properties and relationships of a sectionGroup object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupItemRequestBuilderGetQueryParameters - { - /// 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 SectionGroupItemRequestBuilderGetRequestConfiguration : 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 SectionGroupItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs deleted file mode 100644 index 66a8f2569a8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.SectionGroups.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/onenote/sectionGroups/{sectionGroup%2Did}/sectionGroups/$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/onenote/sectionGroups/{sectionGroup%2Did}/sectionGroups/$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.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.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.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/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs deleted file mode 100644 index 7d193904510..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.SectionGroups.Item -{ - /// - /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SectionGroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sectionGroups/{sectionGroup%2Did1}{?%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 SectionGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sectionGroups/{sectionGroup%2Did1}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section groups in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section groups in the section. Read-only. Nullable. - /// - /// 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.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section groups in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupItemRequestBuilderGetQueryParameters - { - /// 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 SectionGroupItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs deleted file mode 100644 index 4cd6db5d31f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ /dev/null @@ -1,184 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.SectionGroups -{ - /// - /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. - /// The unique identifier of sectionGroup - /// A - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("sectionGroup%2Did1", position); - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder(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 SectionGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sectionGroups{?%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 SectionGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sectionGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of section groups from the specified section group. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of section groups from the specified section group. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of section groups from the specified section group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupsRequestBuilderGetQueryParameters - { - /// 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 SectionGroupsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs deleted file mode 100644 index ba2efb743fe..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.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/onenote/sectionGroups/{sectionGroup%2Did}/sections/$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/onenote/sectionGroups/{sectionGroup%2Did}/sections/$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.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.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.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/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs deleted file mode 100644 index ffbee11f057..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#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.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToNotebookPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The renameAs property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#nullable restore -#else - public string RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToNotebookPostRequestBody() - { - 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.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "renameAs", n => { RenameAs = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("renameAs", RenameAs); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs deleted file mode 100644 index a6c32a01213..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook -{ - /// - /// Provides operations to call the copyToNotebook method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/copyToNotebook", 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 CopyToNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/copyToNotebook", rawUrl) - { - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder(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 CopyToNotebookRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs deleted file mode 100644 index e83c80cc9f1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#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.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToSectionGroupPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The renameAs property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#nullable restore -#else - public string RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToSectionGroupPostRequestBody() - { - 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.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "renameAs", n => { RenameAs = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("renameAs", RenameAs); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs deleted file mode 100644 index 43bf54f8f1d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup -{ - /// - /// Provides operations to call the copyToSectionGroup method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/copyToSectionGroup", 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 CopyToSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/copyToSectionGroup", rawUrl) - { - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder(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 CopyToSectionGroupRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs deleted file mode 100644 index d9cd4c61cfa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ /dev/null @@ -1,259 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item -{ - /// - /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteSectionItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the copyToNotebook method. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder CopyToNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copyToSectionGroup method. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder CopyToSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder Pages - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder ParentSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(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 OnenoteSectionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%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 OnenoteSectionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sections 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The sections in the section group. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sections 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; - } - /// - /// The sections in the section group. Read-only. Nullable. - /// - /// 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 sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder(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 OnenoteSectionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The sections in the section group. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteSectionItemRequestBuilderGetQueryParameters - { - /// 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 OnenoteSectionItemRequestBuilderGetRequestConfiguration : 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 OnenoteSectionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs deleted file mode 100644 index 44ae37c19c1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.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/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/$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/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/$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.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.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/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index c907697c519..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/content", rawUrl) - { - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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; - } - /// - /// The page's HTML content. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The page's HTML content. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs deleted file mode 100644 index fdf19cee16b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ /dev/null @@ -1,135 +0,0 @@ -// -#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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToSectionPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToSectionPostRequestBody() - { - 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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs deleted file mode 100644 index 75bd6c75aa2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection -{ - /// - /// Provides operations to call the copyToSection method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/copyToSection", 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 CopyToSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/copyToSection", rawUrl) - { - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(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 CopyToSectionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs deleted file mode 100644 index 65c81f75525..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copyToSection method. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder CopyToSection - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the onenotePatchContent method. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder OnenotePatchContent - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder ParentSection - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the preview method. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder Preview - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder(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 OnenotePageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%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 OnenotePageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property pages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property pages 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.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property pages 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; - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// 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 pages 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder(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 OnenotePageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilderGetQueryParameters - { - /// 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 OnenotePageItemRequestBuilderGetRequestConfiguration : 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 OnenotePageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs deleted file mode 100644 index 0ecfc03e91c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class OnenotePatchContentPostRequestBody : 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 commands property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Commands - { - get { return BackingStore?.Get?>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#nullable restore -#else - public List Commands - { - get { return BackingStore?.Get>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public OnenotePatchContentPostRequestBody() - { - 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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "commands", n => { Commands = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("commands", Commands); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs deleted file mode 100644 index 5f51ae3de58..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent -{ - /// - /// Provides operations to call the onenotePatchContent method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePatchContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OnenotePatchContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/onenotePatchContent", 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 OnenotePatchContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/onenotePatchContent", rawUrl) - { - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(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 OnenotePatchContentRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index 4bea50bb331..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs deleted file mode 100644 index 3047157f428..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection -{ - /// - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentSection{?%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 ParentSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentSection{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilderGetQueryParameters - { - /// 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 ParentSectionRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs deleted file mode 100644 index 3834619ee45..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ /dev/null @@ -1,98 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview -{ - /// - /// Provides operations to call the preview method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PreviewRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PreviewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/preview()", 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 PreviewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/preview()", rawUrl) - { - } - /// - /// Invoke function preview - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function preview - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder(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 PreviewRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs deleted file mode 100644 index 506b21166c3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.Pages -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// The unique identifier of onenotePage - /// A - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenotePage%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder(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 PagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages{?%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 PagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to pages 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.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// 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 pages 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilderGetQueryParameters - { - /// 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 PagesRequestBuilderGetRequestConfiguration : 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 PagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index 7734683f471..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the section. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the section. Read-only. - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the section. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs deleted file mode 100644 index e065be4057a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup -{ - /// - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/parentSectionGroup{?%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 ParentSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/parentSectionGroup{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section group that contains the section. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section group that contains the section. Read-only. - /// - /// 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.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section group that contains the section. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilderGetQueryParameters - { - /// 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 ParentSectionGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs deleted file mode 100644 index 4c25a688aba..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups.Item.Sections -{ - /// - /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. - /// The unique identifier of onenoteSection - /// A - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenoteSection%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder(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 SectionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections{?%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 SectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups/{sectionGroup%2Did}/sections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of onenoteSection objects from the specified section group. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new onenoteSection in the specified section group. - /// 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 PostAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of onenoteSection objects from the specified section group. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create a new onenoteSection in the specified section group. - /// - /// 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.Models.OnenoteSection body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.SectionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.SectionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of onenoteSection objects from the specified section group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionsRequestBuilderGetQueryParameters - { - /// 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 SectionsRequestBuilderGetRequestConfiguration : 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 SectionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs deleted file mode 100644 index cbc5f554e89..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.SectionGroups.Count; -using Microsoft.Graph.Me.Onenote.SectionGroups.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.SectionGroups -{ - /// - /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. - /// The unique identifier of sectionGroup - /// A - public global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("sectionGroup%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder(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 SectionGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups{?%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 SectionGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sectionGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of sectionGroup objects. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to sectionGroups 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.Models.SectionGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.SectionGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of sectionGroup objects. - /// - /// 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 sectionGroups 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.Models.SectionGroup body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SectionGroup body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.SectionGroups.SectionGroupsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.SectionGroups.SectionGroupsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of sectionGroup objects. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionGroupsRequestBuilderGetQueryParameters - { - /// 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 SectionGroupsRequestBuilderGetRequestConfiguration : 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 SectionGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Count/CountRequestBuilder.cs deleted file mode 100644 index c2e20fc64d3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Sections.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/onenote/sections/$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/onenote/sections/$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.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.Me.Onenote.Sections.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.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/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs deleted file mode 100644 index 1223f80104c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#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.Me.Onenote.Sections.Item.CopyToNotebook -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToNotebookPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The renameAs property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#nullable restore -#else - public string RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToNotebookPostRequestBody() - { - 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.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "renameAs", n => { RenameAs = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("renameAs", RenameAs); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs deleted file mode 100644 index 3800ef8490d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.CopyToNotebook -{ - /// - /// Provides operations to call the copyToNotebook method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/copyToNotebook", 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 CopyToNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/copyToNotebook", rawUrl) - { - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder(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 CopyToNotebookRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs deleted file mode 100644 index de595542d14..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#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.Me.Onenote.Sections.Item.CopyToSectionGroup -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToSectionGroupPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The renameAs property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#nullable restore -#else - public string RenameAs - { - get { return BackingStore?.Get("renameAs"); } - set { BackingStore?.Set("renameAs", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToSectionGroupPostRequestBody() - { - 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.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "renameAs", n => { RenameAs = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("renameAs", RenameAs); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs deleted file mode 100644 index ec1cd8492ed..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.CopyToSectionGroup -{ - /// - /// Provides operations to call the copyToSectionGroup method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/copyToSectionGroup", 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 CopyToSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/copyToSectionGroup", rawUrl) - { - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder(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 CopyToSectionGroupRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs deleted file mode 100644 index cf5b69f09a2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ /dev/null @@ -1,260 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook; -using Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup; -using Microsoft.Graph.Me.Onenote.Sections.Item.Pages; -using Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item -{ - /// - /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteSectionItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the copyToNotebook method. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder CopyToNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copyToSectionGroup method. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder CopyToSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.PagesRequestBuilder Pages - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.PagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder ParentSectionGroup - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(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 OnenoteSectionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%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 OnenoteSectionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property sections 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of a onenoteSection object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property sections 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; - } - /// - /// Retrieve the properties and relationships of a onenoteSection 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; - } - /// - /// Update the navigation property sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder(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 OnenoteSectionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve the properties and relationships of a onenoteSection object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenoteSectionItemRequestBuilderGetQueryParameters - { - /// 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 OnenoteSectionItemRequestBuilderGetRequestConfiguration : 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 OnenoteSectionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs deleted file mode 100644 index de774e425f0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages.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/onenote/sections/{onenoteSection%2Did}/pages/$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/onenote/sections/{onenoteSection%2Did}/pages/$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.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.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.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/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index a50b6cf9728..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/content", rawUrl) - { - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The page's HTML content. - /// - /// 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; - } - /// - /// The page's HTML content. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The page's HTML content. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Onenote.Sections.Item.Pages.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs deleted file mode 100644 index 31c7f763367..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ /dev/null @@ -1,135 +0,0 @@ -// -#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.Me.Onenote.Sections.Item.Pages.Item.CopyToSection -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopyToSectionPostRequestBody : 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 groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The siteCollectionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#nullable restore -#else - public string SiteCollectionId - { - get { return BackingStore?.Get("siteCollectionId"); } - set { BackingStore?.Set("siteCollectionId", value); } - } -#endif - /// The siteId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#nullable restore -#else - public string SiteId - { - get { return BackingStore?.Get("siteId"); } - set { BackingStore?.Set("siteId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CopyToSectionPostRequestBody() - { - 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.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - { "siteId", n => { SiteId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("groupId", GroupId); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("siteCollectionId", SiteCollectionId); - writer.WriteStringValue("siteId", SiteId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs deleted file mode 100644 index 078c4907c4b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages.Item.CopyToSection -{ - /// - /// Provides operations to call the copyToSection method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopyToSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopyToSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/copyToSection", 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 CopyToSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/copyToSection", rawUrl) - { - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// 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 PostAsync(global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. - /// - /// 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.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(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 CopyToSectionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs deleted file mode 100644 index 95a71684a7a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content; -using Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection; -using Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent; -using Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook; -using Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection; -using Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages.Item -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the copyToSection method. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder CopyToSection - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the onenotePatchContent method. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder OnenotePatchContent - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder ParentNotebook - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder ParentSection - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the preview method. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder Preview - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder(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 OnenotePageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%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 OnenotePageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property pages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property pages 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.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property pages 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; - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - /// 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 pages 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder(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 OnenotePageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of pages in the section. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePageItemRequestBuilderGetQueryParameters - { - /// 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 OnenotePageItemRequestBuilderGetRequestConfiguration : 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 OnenotePageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs deleted file mode 100644 index 2f9e8d9d9d5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class OnenotePatchContentPostRequestBody : 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 commands property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Commands - { - get { return BackingStore?.Get?>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#nullable restore -#else - public List Commands - { - get { return BackingStore?.Get>("commands"); } - set { BackingStore?.Set("commands", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public OnenotePatchContentPostRequestBody() - { - 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.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "commands", n => { Commands = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("commands", Commands); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs deleted file mode 100644 index 313fc2d4220..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent -{ - /// - /// Provides operations to call the onenotePatchContent method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnenotePatchContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OnenotePatchContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/onenotePatchContent", 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 OnenotePatchContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/onenotePatchContent", rawUrl) - { - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action onenotePatchContent - /// - /// 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.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder(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 OnenotePatchContentRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index f025e5bde87..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the page. Read-only. - /// - /// 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.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs deleted file mode 100644 index 83f13bbe404..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages.Item.ParentSection -{ - /// - /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentSection{?%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 ParentSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/parentSection{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section that contains the page. Read-only. - /// - /// 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.Me.Onenote.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section that contains the page. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionRequestBuilderGetQueryParameters - { - /// 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 ParentSectionRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs deleted file mode 100644 index d89107509c6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ /dev/null @@ -1,98 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages.Item.Preview -{ - /// - /// Provides operations to call the preview method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PreviewRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PreviewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/preview()", 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 PreviewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}/preview()", rawUrl) - { - } - /// - /// Invoke function preview - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function preview - /// - /// 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.Me.Onenote.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder(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 PreviewRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs deleted file mode 100644 index 850bde099fb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count; -using Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.Pages -{ - /// - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. - /// The unique identifier of onenotePage - /// A - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenotePage%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder(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 PagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages{?%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 PagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/pages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of page objects from the specified section. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new page in the specified section. - /// 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 PostAsync(global::Microsoft.Graph.Models.OnenotePage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of page objects from the specified section. - /// - /// 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 a new page in the specified section. - /// - /// 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.Models.OnenotePage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenotePage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.PagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.Pages.PagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of page objects from the specified section. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PagesRequestBuilderGetQueryParameters - { - /// 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 PagesRequestBuilderGetRequestConfiguration : 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 PagesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs deleted file mode 100644 index 58372e67858..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.ParentNotebook -{ - /// - /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentNotebookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/parentNotebook{?%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 ParentNotebookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/parentNotebook{?%24expand,%24select}", rawUrl) - { - } - /// - /// The notebook that contains the section. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The notebook that contains the section. Read-only. - /// - /// 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.Me.Onenote.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The notebook that contains the section. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentNotebookRequestBuilderGetQueryParameters - { - /// 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 ParentNotebookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs deleted file mode 100644 index 6539ebc1bc7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections.Item.ParentSectionGroup -{ - /// - /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ParentSectionGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/parentSectionGroup{?%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 ParentSectionGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections/{onenoteSection%2Did}/parentSectionGroup{?%24expand,%24select}", rawUrl) - { - } - /// - /// The section group that contains the section. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The section group that contains the section. Read-only. - /// - /// 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.Me.Onenote.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The section group that contains the section. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ParentSectionGroupRequestBuilderGetQueryParameters - { - /// 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 ParentSectionGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/SectionsRequestBuilder.cs deleted file mode 100644 index d213b1fb428..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/SectionsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Onenote.Sections.Count; -using Microsoft.Graph.Me.Onenote.Sections.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Onenote.Sections -{ - /// - /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. - /// The unique identifier of onenoteSection - /// A - public global::Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onenoteSection%2Did", position); - return new global::Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder(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 SectionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections{?%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 SectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onenote/sections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of onenoteSection objects. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of onenoteSection objects. - /// - /// 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 sections 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.Models.OnenoteSection body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnenoteSection body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Onenote.Sections.SectionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Onenote.Sections.SectionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of onenoteSection objects. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SectionsRequestBuilderGetQueryParameters - { - /// 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 SectionsRequestBuilderGetRequestConfiguration : 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 SectionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Count/CountRequestBuilder.cs deleted file mode 100644 index 1afd2aa91ef..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.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/onlineMeetings/$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/onlineMeetings/$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.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.Me.OnlineMeetings.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.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/OnlineMeetings/CreateOrGet/CreateOrGetPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/CreateOrGet/CreateOrGetPostRequestBody.cs deleted file mode 100644 index d27d9e3b945..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/CreateOrGet/CreateOrGetPostRequestBody.cs +++ /dev/null @@ -1,152 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.CreateOrGet -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateOrGetPostRequestBody : 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 chatInfo property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ChatInfo? ChatInfo - { - get { return BackingStore?.Get("chatInfo"); } - set { BackingStore?.Set("chatInfo", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ChatInfo ChatInfo - { - get { return BackingStore?.Get("chatInfo"); } - set { BackingStore?.Set("chatInfo", value); } - } -#endif - /// The endDateTime property - public DateTimeOffset? EndDateTime - { - get { return BackingStore?.Get("endDateTime"); } - set { BackingStore?.Set("endDateTime", value); } - } - /// The externalId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ExternalId - { - get { return BackingStore?.Get("externalId"); } - set { BackingStore?.Set("externalId", value); } - } -#nullable restore -#else - public string ExternalId - { - get { return BackingStore?.Get("externalId"); } - set { BackingStore?.Set("externalId", value); } - } -#endif - /// The participants property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.MeetingParticipants? Participants - { - get { return BackingStore?.Get("participants"); } - set { BackingStore?.Set("participants", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.MeetingParticipants Participants - { - get { return BackingStore?.Get("participants"); } - set { BackingStore?.Set("participants", value); } - } -#endif - /// The startDateTime property - public DateTimeOffset? StartDateTime - { - get { return BackingStore?.Get("startDateTime"); } - set { BackingStore?.Set("startDateTime", value); } - } - /// The subject property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Subject - { - get { return BackingStore?.Get("subject"); } - set { BackingStore?.Set("subject", value); } - } -#nullable restore -#else - public string Subject - { - get { return BackingStore?.Get("subject"); } - set { BackingStore?.Set("subject", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CreateOrGetPostRequestBody() - { - 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.Me.OnlineMeetings.CreateOrGet.CreateOrGetPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "chatInfo", n => { ChatInfo = n.GetObjectValue(global::Microsoft.Graph.Models.ChatInfo.CreateFromDiscriminatorValue); } }, - { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - { "externalId", n => { ExternalId = n.GetStringValue(); } }, - { "participants", n => { Participants = n.GetObjectValue(global::Microsoft.Graph.Models.MeetingParticipants.CreateFromDiscriminatorValue); } }, - { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - { "subject", n => { Subject = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("chatInfo", ChatInfo); - writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime); - writer.WriteStringValue("externalId", ExternalId); - writer.WriteObjectValue("participants", Participants); - writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); - writer.WriteStringValue("subject", Subject); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs deleted file mode 100644 index 2d5c0c294c2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.CreateOrGet -{ - /// - /// Provides operations to call the createOrGet method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateOrGetRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateOrGetRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/createOrGet", 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 CreateOrGetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/createOrGet", rawUrl) - { - } - /// - /// Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. - /// 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 PostAsync(global::Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. - /// - /// 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.Me.OnlineMeetings.CreateOrGet.CreateOrGetPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetRequestBuilder(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 CreateOrGetRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs deleted file mode 100644 index 046bb9a3cd1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.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.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse(); - } - /// - /// 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.Models.CallRecording.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs deleted file mode 100644 index 88ab637720a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ /dev/null @@ -1,205 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime -{ - /// - /// Provides operations to call the getAllRecordings method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/getAllRecordings(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", 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 GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/getAllRecordings(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", rawUrl) - { - } - /// - /// Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you perform an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you perform an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you perform an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - /// 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.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you perform an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Usage: endDateTime=@endDateTime - [QueryParameter("endDateTime")] - public DateTimeOffset? EndDateTime { 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 - /// Usage: meetingOrganizerUserId='@meetingOrganizerUserId' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("meetingOrganizerUserId")] - public string? MeetingOrganizerUserId { get; set; } -#nullable restore -#else - [QueryParameter("meetingOrganizerUserId")] - public string MeetingOrganizerUserId { 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; } - /// Usage: startDateTime=@startDateTime - [QueryParameter("startDateTime")] - public DateTimeOffset? StartDateTime { 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 GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.cs deleted file mode 100644 index b51bb85f1f0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime -{ - [Obsolete("This class is obsolete. Use GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse, 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.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs deleted file mode 100644 index dde3b3fe2cb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.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.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse(); - } - /// - /// 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.Models.CallTranscript.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs deleted file mode 100644 index 43b455fbc2a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ /dev/null @@ -1,205 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime -{ - /// - /// Provides operations to call the getAllTranscripts method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/getAllTranscripts(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", 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 GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/getAllTranscripts(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", rawUrl) - { - } - /// - /// Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you perform an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you perform an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you perform an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - /// 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.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you perform an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Usage: endDateTime=@endDateTime - [QueryParameter("endDateTime")] - public DateTimeOffset? EndDateTime { 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 - /// Usage: meetingOrganizerUserId='@meetingOrganizerUserId' -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("meetingOrganizerUserId")] - public string? MeetingOrganizerUserId { get; set; } -#nullable restore -#else - [QueryParameter("meetingOrganizerUserId")] - public string MeetingOrganizerUserId { 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; } - /// Usage: startDateTime=@startDateTime - [QueryParameter("startDateTime")] - public DateTimeOffset? StartDateTime { 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 GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.cs deleted file mode 100644 index b72517ee6de..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime -{ - [Obsolete("This class is obsolete. Use GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse, 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.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs deleted file mode 100644 index 14363764a7d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count; -using Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.AttendanceReports -{ - /// - /// Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttendanceReportsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. - /// The unique identifier of meetingAttendanceReport - /// A - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("meetingAttendanceReport%2Did", position); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder(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 AttendanceReportsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendanceReports{?%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 AttendanceReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendanceReports{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MeetingAttendanceReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to attendanceReports 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.Models.MeetingAttendanceReport body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.MeetingAttendanceReport body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. - /// - /// 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 attendanceReports 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.Models.MeetingAttendanceReport body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MeetingAttendanceReport body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.AttendanceReportsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.AttendanceReportsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttendanceReportsRequestBuilderGetQueryParameters - { - /// 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 AttendanceReportsRequestBuilderGetRequestConfiguration : 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 AttendanceReportsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs deleted file mode 100644 index af5f7153b79..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.AttendanceReports.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/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/$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/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/$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.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.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.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/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs deleted file mode 100644 index 26b3e2d4078..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count; -using Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords -{ - /// - /// Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttendanceRecordsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. - /// The unique identifier of attendanceRecord - /// A - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attendanceRecord%2Did", position); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder(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 AttendanceRecordsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords{?%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 AttendanceRecordsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of attendanceRecord objects and their properties. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttendanceRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to attendanceRecords 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.Models.AttendanceRecord body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.AttendanceRecord body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of attendanceRecord objects and their properties. - /// - /// 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 attendanceRecords 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.Models.AttendanceRecord body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AttendanceRecord body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.AttendanceRecordsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.AttendanceRecordsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of attendanceRecord objects and their properties. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttendanceRecordsRequestBuilderGetQueryParameters - { - /// 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 AttendanceRecordsRequestBuilderGetRequestConfiguration : 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 AttendanceRecordsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs deleted file mode 100644 index 78f8560f158..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.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/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/$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/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/$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.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.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.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/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs deleted file mode 100644 index 9d71d991ef6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item -{ - /// - /// Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttendanceRecordItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttendanceRecordItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/{attendanceRecord%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 AttendanceRecordItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/{attendanceRecord%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attendanceRecords 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List of attendance records of an attendance report. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property attendanceRecords 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.Models.AttendanceRecord body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.AttendanceRecord body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attendanceRecords 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; - } - /// - /// List of attendance records of an attendance report. Read-only. - /// - /// 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 attendanceRecords 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.Models.AttendanceRecord body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AttendanceRecord body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder(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 AttendanceRecordItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// List of attendance records of an attendance report. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttendanceRecordItemRequestBuilderGetQueryParameters - { - /// 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 AttendanceRecordItemRequestBuilderGetRequestConfiguration : 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 AttendanceRecordItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs deleted file mode 100644 index 0700e283f16..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.AttendanceReports.Item -{ - /// - /// Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MeetingAttendanceReportItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.AttendanceRecordsRequestBuilder AttendanceRecords - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.AttendanceRecordsRequestBuilder(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 MeetingAttendanceReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%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 MeetingAttendanceReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attendanceReports 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property attendanceReports 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.Models.MeetingAttendanceReport body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.MeetingAttendanceReport body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attendanceReports 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 the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. - /// - /// 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 attendanceReports 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.Models.MeetingAttendanceReport body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MeetingAttendanceReport body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder(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 MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MeetingAttendanceReportItemRequestBuilderGetQueryParameters - { - /// 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 MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration : 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 MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs deleted file mode 100644 index 58c59500a92..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.AttendeeReport -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttendeeReportRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AttendeeReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendeeReport", 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 AttendeeReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendeeReport", rawUrl) - { - } - /// - /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. - /// - /// 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; - } - /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.OnlineMeetings.Item.AttendeeReport.AttendeeReportRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.AttendeeReportRequestBuilder(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 AttendeeReportRequestBuilderDeleteRequestConfiguration : 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 AttendeeReportRequestBuilderGetRequestConfiguration : 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 AttendeeReportRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlGetResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlGetResponse.cs deleted file mode 100644 index ef31b48a450..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlGetResponse.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetVirtualAppointmentJoinWebUrlGetResponse : 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 value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Value - { - get { return BackingStore?.Get("value"); } - set { BackingStore?.Set("value", value); } - } -#nullable restore -#else - public string Value - { - get { return BackingStore?.Get("value"); } - set { BackingStore?.Set("value", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public GetVirtualAppointmentJoinWebUrlGetResponse() - { - 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.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlGetResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "value", n => { Value = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("value", Value); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs deleted file mode 100644 index 60a2250c17b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs +++ /dev/null @@ -1,123 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl -{ - /// - /// Provides operations to call the getVirtualAppointmentJoinWebUrl method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetVirtualAppointmentJoinWebUrlRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetVirtualAppointmentJoinWebUrlRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/getVirtualAppointmentJoinWebUrl()", 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 GetVirtualAppointmentJoinWebUrlRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/getVirtualAppointmentJoinWebUrl()", rawUrl) - { - } - /// - /// Get a join web URL for a Microsoft Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetVirtualAppointmentJoinWebUrlGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetVirtualAppointmentJoinWebUrlGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a join web URL for a Microsoft Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetVirtualAppointmentJoinWebUrlGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a join web URL for a Microsoft Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. - /// - /// 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.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlRequestBuilder(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 GetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlResponse.cs deleted file mode 100644 index 58b2ba47eaa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl -{ - [Obsolete("This class is obsolete. Use GetVirtualAppointmentJoinWebUrlGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetVirtualAppointmentJoinWebUrlResponse : global::Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlGetResponse, 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.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs deleted file mode 100644 index 3a7a2c13893..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ /dev/null @@ -1,274 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports; -using Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport; -using Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl; -using Microsoft.Graph.Me.OnlineMeetings.Item.Recordings; -using Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms; -using Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms; -using Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item -{ - /// - /// Provides operations to manage the onlineMeetings property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnlineMeetingItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.AttendanceReportsRequestBuilder AttendanceReports - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.AttendanceReportsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.AttendeeReportRequestBuilder AttendeeReport - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.AttendeeReportRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getVirtualAppointmentJoinWebUrl method. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlRequestBuilder GetVirtualAppointmentJoinWebUrl - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder Recordings - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the sendVirtualAppointmentReminderSms method. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsRequestBuilder SendVirtualAppointmentReminderSms - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the sendVirtualAppointmentSms method. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsRequestBuilder SendVirtualAppointmentSms - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.TranscriptsRequestBuilder Transcripts - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.TranscriptsRequestBuilder(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 OnlineMeetingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%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 OnlineMeetingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete an onlineMeeting object. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of the specified onlineMeeting object. For the list of properties that support updating, see the Request body section. - /// 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 PatchAsync(global::Microsoft.Graph.Models.OnlineMeeting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OnlineMeeting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete an onlineMeeting 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 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; - } - /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. - /// - /// 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 properties of the specified onlineMeeting object. For the list of properties that support updating, see the Request body section. - /// - /// 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.Models.OnlineMeeting body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnlineMeeting body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder(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 OnlineMeetingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnlineMeetingItemRequestBuilderGetQueryParameters - { - /// 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 OnlineMeetingItemRequestBuilderGetRequestConfiguration : 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 OnlineMeetingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Count/CountRequestBuilder.cs deleted file mode 100644 index ebdf59caa2a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Recordings.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/onlineMeetings/{onlineMeeting%2Did}/recordings/$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/onlineMeetings/{onlineMeeting%2Did}/recordings/$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.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.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.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/OnlineMeetings/Item/Recordings/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Delta/DeltaGetResponse.cs deleted file mode 100644 index 834a6bcba32..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.OnlineMeetings.Item.Recordings.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.CallRecording.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 07e8b11aed1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Recordings.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function delta - /// - /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function delta - /// - /// 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 GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function delta - /// - /// 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.Me.OnlineMeetings.Item.Recordings.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function delta - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Delta/DeltaResponse.cs deleted file mode 100644 index 060ce6669fd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.OnlineMeetings.Item.Recordings.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaGetResponse, 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.Me.OnlineMeetings.Item.Recordings.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs deleted file mode 100644 index 6bf75b5b89d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Recordings.Item -{ - /// - /// Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CallRecordingItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.ContentRequestBuilder(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 CallRecordingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%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 CallRecordingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property recordings 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The recordings of an online meeting. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property recordings 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.Models.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CallRecording body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property recordings 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; - } - /// - /// The recordings of an online meeting. Read-only. - /// - /// 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 recordings 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.Models.CallRecording body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallRecording body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 CallRecordingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The recordings of an online meeting. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CallRecordingItemRequestBuilderGetQueryParameters - { - /// 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 CallRecordingItemRequestBuilderGetRequestConfiguration : 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 CallRecordingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index 573c9d3fdf3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Recordings.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}/content", rawUrl) - { - } - /// - /// The content of the recording. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the recording. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the recording. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the recording. Read-only. - /// - /// 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; - } - /// - /// The content of the recording. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The content of the recording. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.OnlineMeetings.Item.Recordings.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.cs deleted file mode 100644 index 263bdb36b87..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count; -using Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta; -using Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Recordings -{ - /// - /// Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RecordingsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. - /// The unique identifier of callRecording - /// A - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("callRecording%2Did", position); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 RecordingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings{?%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 RecordingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecordingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to recordings 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.Models.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CallRecording body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. - /// - /// 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 recordings 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.Models.CallRecording body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallRecording body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RecordingsRequestBuilderGetQueryParameters - { - /// 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 RecordingsRequestBuilderGetRequestConfiguration : 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 RecordingsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsPostRequestBody.cs deleted file mode 100644 index 2761ee03261..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SendVirtualAppointmentReminderSmsPostRequestBody : 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 attendees property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Attendees - { - get { return BackingStore?.Get?>("attendees"); } - set { BackingStore?.Set("attendees", value); } - } -#nullable restore -#else - public List Attendees - { - get { return BackingStore?.Get>("attendees"); } - set { BackingStore?.Set("attendees", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The remindBeforeTimeInMinutesType property - public global::Microsoft.Graph.Models.RemindBeforeTimeInMinutesType? RemindBeforeTimeInMinutesType - { - get { return BackingStore?.Get("remindBeforeTimeInMinutesType"); } - set { BackingStore?.Set("remindBeforeTimeInMinutesType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public SendVirtualAppointmentReminderSmsPostRequestBody() - { - 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.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "attendees", n => { Attendees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AttendeeNotificationInfo.CreateFromDiscriminatorValue)?.AsList(); } }, - { "remindBeforeTimeInMinutesType", n => { RemindBeforeTimeInMinutesType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("attendees", Attendees); - writer.WriteEnumValue("remindBeforeTimeInMinutesType", RemindBeforeTimeInMinutesType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsRequestBuilder.cs deleted file mode 100644 index d2eb00fa138..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms -{ - /// - /// Provides operations to call the sendVirtualAppointmentReminderSms method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SendVirtualAppointmentReminderSmsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SendVirtualAppointmentReminderSmsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentReminderSms", 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 SendVirtualAppointmentReminderSmsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentReminderSms", rawUrl) - { - } - /// - /// Send an SMS reminder to external attendees for a Teams virtual appointment. This feature requires Teams premium and attendees must have a valid United States phone number to receive SMS notifications. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Send an SMS reminder to external attendees for a Teams virtual appointment. This feature requires Teams premium and attendees must have a valid United States phone number to receive SMS notifications. - /// - /// 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.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsRequestBuilder(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 SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsPostRequestBody.cs deleted file mode 100644 index 008c9fa237a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.SendVirtualAppointmentSms -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SendVirtualAppointmentSmsPostRequestBody : 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 attendees property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Attendees - { - get { return BackingStore?.Get?>("attendees"); } - set { BackingStore?.Set("attendees", value); } - } -#nullable restore -#else - public List Attendees - { - get { return BackingStore?.Get>("attendees"); } - set { BackingStore?.Set("attendees", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The messageType property - public global::Microsoft.Graph.Models.VirtualAppointmentMessageType? MessageType - { - get { return BackingStore?.Get("messageType"); } - set { BackingStore?.Set("messageType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public SendVirtualAppointmentSmsPostRequestBody() - { - 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.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "attendees", n => { Attendees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AttendeeNotificationInfo.CreateFromDiscriminatorValue)?.AsList(); } }, - { "messageType", n => { MessageType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("attendees", Attendees); - writer.WriteEnumValue("messageType", MessageType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsRequestBuilder.cs deleted file mode 100644 index 587bd2ee557..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.SendVirtualAppointmentSms -{ - /// - /// Provides operations to call the sendVirtualAppointmentSms method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SendVirtualAppointmentSmsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SendVirtualAppointmentSmsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentSms", 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 SendVirtualAppointmentSmsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentSms", rawUrl) - { - } - /// - /// Send an SMS notification to external attendees when a Teams virtual appointment is confirmed, rescheduled, or canceled. This feature requires Teams premium. Attendees must have a valid United States phone number to receive these SMS notifications. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Send an SMS notification to external attendees when a Teams virtual appointment is confirmed, rescheduled, or canceled. This feature requires Teams premium. Attendees must have a valid United States phone number to receive these SMS notifications. - /// - /// 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.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsRequestBuilder(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 SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Count/CountRequestBuilder.cs deleted file mode 100644 index 5868471d376..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Transcripts.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/onlineMeetings/{onlineMeeting%2Did}/transcripts/$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/onlineMeetings/{onlineMeeting%2Did}/transcripts/$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.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.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.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/OnlineMeetings/Item/Transcripts/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Delta/DeltaGetResponse.cs deleted file mode 100644 index 92ee141ad76..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.CallTranscript.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 19eefb8e8ea..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Transcripts.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function delta - /// - /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function delta - /// - /// 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 GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function delta - /// - /// 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.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function delta - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Delta/DeltaResponse.cs deleted file mode 100644 index e8ce2a73244..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.OnlineMeetings.Item.Transcripts.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaGetResponse, 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.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs deleted file mode 100644 index 72390f68d16..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content; -using Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Transcripts.Item -{ - /// - /// Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CallTranscriptItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder MetadataContent - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 CallTranscriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%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 CallTranscriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property transcripts 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The transcripts of an online meeting. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property transcripts 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.Models.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.CallTranscript body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property transcripts 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; - } - /// - /// The transcripts of an online meeting. Read-only. - /// - /// 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 transcripts 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.Models.CallTranscript body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallTranscript body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 CallTranscriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The transcripts of an online meeting. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CallTranscriptItemRequestBuilderGetQueryParameters - { - /// 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 CallTranscriptItemRequestBuilderGetRequestConfiguration : 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 CallTranscriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index 8cf69bb511c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Transcripts.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%2Did}/content", rawUrl) - { - } - /// - /// The content of the transcript. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the transcript. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the transcript. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content of the transcript. Read-only. - /// - /// 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; - } - /// - /// The content of the transcript. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The content of the transcript. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.OnlineMeetings.Item.Transcripts.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs deleted file mode 100644 index b2cf18386b3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MetadataContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MetadataContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%2Did}/metadataContent", 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 MetadataContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%2Did}/metadataContent", rawUrl) - { - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// 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; - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 MetadataContentRequestBuilderDeleteRequestConfiguration : 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 MetadataContentRequestBuilderGetRequestConfiguration : 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 MetadataContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs deleted file mode 100644 index f799df16d30..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count; -using Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta; -using Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings.Item.Transcripts -{ - /// - /// Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TranscriptsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - /// The unique identifier of callTranscript - /// A - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("callTranscript%2Did", position); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 TranscriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts{?%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 TranscriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The transcripts of an online meeting. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to transcripts 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.Models.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.CallTranscript body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The transcripts of an online meeting. Read-only. - /// - /// 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 transcripts 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.Models.CallTranscript body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallTranscript body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.TranscriptsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.TranscriptsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The transcripts of an online meeting. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TranscriptsRequestBuilderGetQueryParameters - { - /// 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 TranscriptsRequestBuilderGetRequestConfiguration : 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 TranscriptsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs deleted file mode 100644 index e5b210cf9bd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs +++ /dev/null @@ -1,258 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OnlineMeetings.Count; -using Microsoft.Graph.Me.OnlineMeetings.CreateOrGet; -using Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime; -using Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime; -using Microsoft.Graph.Me.OnlineMeetings.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OnlineMeetings -{ - /// - /// Provides operations to manage the onlineMeetings property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnlineMeetingsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createOrGet method. - public global::Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetRequestBuilder CreateOrGet - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllRecordings method. - public global::Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllTranscripts method. - public global::Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime - { - get => new global::Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the onlineMeetings property of the microsoft.graph.user entity. - /// The unique identifier of onlineMeeting - /// A - public global::Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("onlineMeeting%2Did", position); - return new global::Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder(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 OnlineMeetingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings{?%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 OnlineMeetingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onlineMeetings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnlineMeetingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an online meeting on behalf of a user. - /// 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 PostAsync(global::Microsoft.Graph.Models.OnlineMeeting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OnlineMeeting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. - /// - /// 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 an online meeting on behalf of a user. - /// - /// 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.Models.OnlineMeeting body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OnlineMeeting body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OnlineMeetingsRequestBuilderGetQueryParameters - { - /// 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 OnlineMeetingsRequestBuilderGetRequestConfiguration : 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 OnlineMeetingsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Count/CountRequestBuilder.cs deleted file mode 100644 index 862454ca23e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Outlook.MasterCategories.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/outlook/masterCategories/$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/outlook/masterCategories/$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.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.Me.Outlook.MasterCategories.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Outlook.MasterCategories.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/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs deleted file mode 100644 index c6eb9b7fc58..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs +++ /dev/null @@ -1,232 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Outlook.MasterCategories.Item -{ - /// - /// Provides operations to manage the masterCategories property of the microsoft.graph.outlookUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OutlookCategoryItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public OutlookCategoryItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook/masterCategories/{outlookCategory%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 OutlookCategoryItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook/masterCategories/{outlookCategory%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete the specified outlookCategory object. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the properties and relationships of the specified outlookCategory object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName property once you have created the category. - /// 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 PatchAsync(global::Microsoft.Graph.Models.OutlookCategory body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OutlookCategory body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete the specified outlookCategory 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 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 the properties and relationships of the specified outlookCategory 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; - } - /// - /// Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName property once you have created the category. - /// - /// 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.Models.OutlookCategory body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OutlookCategory body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder(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 OutlookCategoryItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get the properties and relationships of the specified outlookCategory object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OutlookCategoryItemRequestBuilderGetQueryParameters - { - /// 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 OutlookCategoryItemRequestBuilderGetRequestConfiguration : 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 OutlookCategoryItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs deleted file mode 100644 index 8b29be0d06c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Outlook.MasterCategories.Count; -using Microsoft.Graph.Me.Outlook.MasterCategories.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Outlook.MasterCategories -{ - /// - /// Provides operations to manage the masterCategories property of the microsoft.graph.outlookUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MasterCategoriesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the masterCategories property of the microsoft.graph.outlookUser entity. - /// The unique identifier of outlookCategory - /// A - public global::Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("outlookCategory%2Did", position); - return new global::Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder(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 MasterCategoriesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook/masterCategories{?%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 MasterCategoriesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook/masterCategories{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get all the categories that have been defined for a user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OutlookCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an outlookCategory object in the user's master list of categories. - /// 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 PostAsync(global::Microsoft.Graph.Models.OutlookCategory body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OutlookCategory body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all the categories that have been defined for a user. - /// - /// 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 an outlookCategory object in the user's master list of categories. - /// - /// 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.Models.OutlookCategory body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OutlookCategory body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Outlook.MasterCategories.MasterCategoriesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Outlook.MasterCategories.MasterCategoriesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all the categories that have been defined for a user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MasterCategoriesRequestBuilderGetQueryParameters - { - /// 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 MasterCategoriesRequestBuilderGetRequestConfiguration : 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 MasterCategoriesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs deleted file mode 100644 index b06e0d4dc37..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs +++ /dev/null @@ -1,154 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Outlook.MasterCategories; -using Microsoft.Graph.Me.Outlook.SupportedLanguages; -using Microsoft.Graph.Me.Outlook.SupportedTimeZones; -using Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Outlook -{ - /// - /// Provides operations to manage the outlook property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OutlookRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the masterCategories property of the microsoft.graph.outlookUser entity. - public global::Microsoft.Graph.Me.Outlook.MasterCategories.MasterCategoriesRequestBuilder MasterCategories - { - get => new global::Microsoft.Graph.Me.Outlook.MasterCategories.MasterCategoriesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the supportedLanguages method. - public global::Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesRequestBuilder SupportedLanguages - { - get => new global::Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the supportedTimeZones method. - public global::Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesRequestBuilder SupportedTimeZones - { - get => new global::Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesRequestBuilder(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 OutlookRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook{?%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 OutlookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get outlook 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OutlookUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Provides operations to call the supportedTimeZones method. - /// - /// A - /// Usage: TimeZoneStandard='{TimeZoneStandard}' - public global::Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardRequestBuilder SupportedTimeZonesWithTimeZoneStandard(string timeZoneStandard) - { - if(string.IsNullOrEmpty(timeZoneStandard)) throw new ArgumentNullException(nameof(timeZoneStandard)); - return new global::Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardRequestBuilder(PathParameters, RequestAdapter, timeZoneStandard); - } - /// - /// Get outlook 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.Me.Outlook.OutlookRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Outlook.OutlookRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get outlook from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OutlookRequestBuilderGetQueryParameters - { - /// 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 OutlookRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesGetResponse.cs deleted file mode 100644 index 56f22b6d312..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Outlook.SupportedLanguages -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SupportedLanguagesGetResponse : global::Microsoft.Graph.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.Me.Outlook.SupportedLanguages.SupportedLanguagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesGetResponse(); - } - /// - /// 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.Models.LocaleInfo.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs deleted file mode 100644 index 2155f560e2b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs +++ /dev/null @@ -1,159 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Outlook.SupportedLanguages -{ - /// - /// Provides operations to call the supportedLanguages method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SupportedLanguagesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SupportedLanguagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook/supportedLanguages(){?%24count,%24filter,%24search,%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 SupportedLanguagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook/supportedLanguages(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsSupportedLanguagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsSupportedLanguagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsSupportedLanguagesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. - /// - /// 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.Me.Outlook.SupportedLanguages.SupportedLanguagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SupportedLanguagesRequestBuilderGetQueryParameters - { - /// 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 SupportedLanguagesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesResponse.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesResponse.cs deleted file mode 100644 index 0c007b1e955..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Outlook.SupportedLanguages -{ - [Obsolete("This class is obsolete. Use SupportedLanguagesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SupportedLanguagesResponse : global::Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesGetResponse, 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.Me.Outlook.SupportedLanguages.SupportedLanguagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesGetResponse.cs deleted file mode 100644 index 4aebfbf6b13..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Outlook.SupportedTimeZones -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SupportedTimeZonesGetResponse : global::Microsoft.Graph.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.Me.Outlook.SupportedTimeZones.SupportedTimeZonesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesGetResponse(); - } - /// - /// 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.Models.TimeZoneInformation.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs deleted file mode 100644 index 2b891e01bac..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs +++ /dev/null @@ -1,157 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Outlook.SupportedTimeZones -{ - /// - /// Provides operations to call the supportedTimeZones method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SupportedTimeZonesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SupportedTimeZonesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook/supportedTimeZones(){?%24count,%24filter,%24search,%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 SupportedTimeZonesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook/supportedTimeZones(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of time zones that are supported for the user, as configured on the user's mailbox server. You can explicitly specify to have time zones returned in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. When setting up an Outlook client, the user selects the preferred time zone from this supported list. You can subsequently get the preferred time zone bygetting the user's mailbox settings. - /// - /// 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 GetAsSupportedTimeZonesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsSupportedTimeZonesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of time zones that are supported for the user, as configured on the user's mailbox server. You can explicitly specify to have time zones returned in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. When setting up an Outlook client, the user selects the preferred time zone from this supported list. You can subsequently get the preferred time zone bygetting the user's mailbox settings. - /// - /// 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 GetAsSupportedTimeZonesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of time zones that are supported for the user, as configured on the user's mailbox server. You can explicitly specify to have time zones returned in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. When setting up an Outlook client, the user selects the preferred time zone from this supported list. You can subsequently get the preferred time zone bygetting the user's mailbox settings. - /// - /// 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.Me.Outlook.SupportedTimeZones.SupportedTimeZonesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of time zones that are supported for the user, as configured on the user's mailbox server. You can explicitly specify to have time zones returned in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. When setting up an Outlook client, the user selects the preferred time zone from this supported list. You can subsequently get the preferred time zone bygetting the user's mailbox settings. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SupportedTimeZonesRequestBuilderGetQueryParameters - { - /// 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 SupportedTimeZonesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesResponse.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesResponse.cs deleted file mode 100644 index 6aa5cbe5fa9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Outlook.SupportedTimeZones -{ - [Obsolete("This class is obsolete. Use SupportedTimeZonesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SupportedTimeZonesResponse : global::Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesGetResponse, 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.Me.Outlook.SupportedTimeZones.SupportedTimeZonesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardGetResponse.cs deleted file mode 100644 index 2b9bbe20937..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SupportedTimeZonesWithTimeZoneStandardGetResponse : global::Microsoft.Graph.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.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardGetResponse(); - } - /// - /// 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.Models.TimeZoneInformation.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs deleted file mode 100644 index ca652ae5e01..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs +++ /dev/null @@ -1,159 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard -{ - /// - /// Provides operations to call the supportedTimeZones method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SupportedTimeZonesWithTimeZoneStandardRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - /// Usage: TimeZoneStandard='{TimeZoneStandard}' - public SupportedTimeZonesWithTimeZoneStandardRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string timeZoneStandard = "") : base(requestAdapter, "{+baseurl}/me/outlook/supportedTimeZones(TimeZoneStandard='{TimeZoneStandard}'){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - if (!string.IsNullOrWhiteSpace(timeZoneStandard)) PathParameters.Add("TimeZoneStandard", timeZoneStandard); - } - /// - /// 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 SupportedTimeZonesWithTimeZoneStandardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/outlook/supportedTimeZones(TimeZoneStandard='{TimeZoneStandard}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of time zones that are supported for the user, as configured on the user's mailbox server. You can explicitly specify to have time zones returned in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. When setting up an Outlook client, the user selects the preferred time zone from this supported list. You can subsequently get the preferred time zone bygetting the user's mailbox settings. - /// - /// 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 GetAsSupportedTimeZonesWithTimeZoneStandardGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsSupportedTimeZonesWithTimeZoneStandardGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of time zones that are supported for the user, as configured on the user's mailbox server. You can explicitly specify to have time zones returned in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. When setting up an Outlook client, the user selects the preferred time zone from this supported list. You can subsequently get the preferred time zone bygetting the user's mailbox settings. - /// - /// 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 GetAsSupportedTimeZonesWithTimeZoneStandardGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of time zones that are supported for the user, as configured on the user's mailbox server. You can explicitly specify to have time zones returned in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. When setting up an Outlook client, the user selects the preferred time zone from this supported list. You can subsequently get the preferred time zone bygetting the user's mailbox settings. - /// - /// 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.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of time zones that are supported for the user, as configured on the user's mailbox server. You can explicitly specify to have time zones returned in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. When setting up an Outlook client, the user selects the preferred time zone from this supported list. You can subsequently get the preferred time zone bygetting the user's mailbox settings. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SupportedTimeZonesWithTimeZoneStandardRequestBuilderGetQueryParameters - { - /// 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 SupportedTimeZonesWithTimeZoneStandardRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardResponse.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardResponse.cs deleted file mode 100644 index bfeb3c2f4e4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard -{ - [Obsolete("This class is obsolete. Use SupportedTimeZonesWithTimeZoneStandardGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SupportedTimeZonesWithTimeZoneStandardResponse : global::Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardGetResponse, 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.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Count/CountRequestBuilder.cs deleted file mode 100644 index 7c5064cb8b4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OwnedDevices.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/ownedDevices/$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/ownedDevices/$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.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.Me.OwnedDevices.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.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/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs deleted file mode 100644 index 9ad3eced595..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OwnedDevices.GraphAppRoleAssignment.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/ownedDevices/graph.appRoleAssignment/$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/ownedDevices/graph.appRoleAssignment/$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.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.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.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/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs deleted file mode 100644 index bfc6cb1577b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedDevices.GraphAppRoleAssignment -{ - /// - /// Casts the previous resource to appRoleAssignment. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAppRoleAssignmentRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.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 GraphAppRoleAssignmentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/graph.appRoleAssignment{?%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 GraphAppRoleAssignmentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/graph.appRoleAssignment{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection - /// - /// 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.Me.OwnedDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAppRoleAssignmentRequestBuilderGetQueryParameters - { - /// 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 GraphAppRoleAssignmentRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs deleted file mode 100644 index d64f915820e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OwnedDevices.GraphDevice.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/ownedDevices/graph.device/$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/ownedDevices/graph.device/$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.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.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.GraphDevice.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/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs deleted file mode 100644 index 847728e9f74..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedDevices.GraphDevice -{ - /// - /// Casts the previous resource to device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDeviceRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OwnedDevices.GraphDevice.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 GraphDeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/graph.device{?%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 GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/graph.device{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection - /// - /// 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.Me.OwnedDevices.GraphDevice.GraphDeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.GraphDevice.GraphDeviceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDeviceRequestBuilderGetQueryParameters - { - /// 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 GraphDeviceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs deleted file mode 100644 index b254e4a1f2f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OwnedDevices.GraphEndpoint.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/ownedDevices/graph.endpoint/$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/ownedDevices/graph.endpoint/$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.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.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.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/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs deleted file mode 100644 index fa81cada145..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedDevices.GraphEndpoint -{ - /// - /// Casts the previous resource to endpoint. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphEndpointRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.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 GraphEndpointRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/graph.endpoint{?%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 GraphEndpointRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/graph.endpoint{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection - /// - /// 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.Me.OwnedDevices.GraphEndpoint.GraphEndpointRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.GraphEndpointRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphEndpointRequestBuilderGetQueryParameters - { - /// 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 GraphEndpointRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs deleted file mode 100644 index bcf91055d0a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs +++ /dev/null @@ -1,143 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment; -using Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice; -using Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedDevices.Item -{ - /// - /// Provides operations to manage the ownedDevices property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder - { - /// Casts the previous resource to appRoleAssignment. - public global::Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder GraphAppRoleAssignment - { - get => new global::Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to device. - public global::Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.GraphDeviceRequestBuilder GraphDevice - { - get => new global::Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.GraphDeviceRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to endpoint. - public global::Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder GraphEndpoint - { - get => new global::Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder(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 DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Devices the user owns. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Devices the user owns. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). - /// - /// 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.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Devices the user owns. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs deleted file mode 100644 index 67714409e0c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedDevices.Item.GraphAppRoleAssignment -{ - /// - /// Casts the previous resource to appRoleAssignment. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAppRoleAssignmentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphAppRoleAssignmentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/{directoryObject%2Did}/graph.appRoleAssignment{?%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 GraphAppRoleAssignmentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/{directoryObject%2Did}/graph.appRoleAssignment{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment - /// - /// 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.Me.OwnedDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAppRoleAssignmentRequestBuilderGetQueryParameters - { - /// 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 GraphAppRoleAssignmentRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs deleted file mode 100644 index ef13136d421..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedDevices.Item.GraphDevice -{ - /// - /// Casts the previous resource to device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphDeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/{directoryObject%2Did}/graph.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 GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/{directoryObject%2Did}/graph.device{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device - /// - /// 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.Me.OwnedDevices.Item.GraphDevice.GraphDeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.GraphDeviceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDeviceRequestBuilderGetQueryParameters - { - /// 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 GraphDeviceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs deleted file mode 100644 index b48d9fc6f93..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedDevices.Item.GraphEndpoint -{ - /// - /// Casts the previous resource to endpoint. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphEndpointRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphEndpointRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/{directoryObject%2Did}/graph.endpoint{?%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 GraphEndpointRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices/{directoryObject%2Did}/graph.endpoint{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint - /// - /// 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.Me.OwnedDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphEndpointRequestBuilderGetQueryParameters - { - /// 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 GraphEndpointRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/OwnedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/OwnedDevicesRequestBuilder.cs deleted file mode 100644 index 2bc8fed8603..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/OwnedDevicesRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedDevices.Count; -using Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment; -using Microsoft.Graph.Me.OwnedDevices.GraphDevice; -using Microsoft.Graph.Me.OwnedDevices.GraphEndpoint; -using Microsoft.Graph.Me.OwnedDevices.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedDevices -{ - /// - /// Provides operations to manage the ownedDevices property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OwnedDevicesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to appRoleAssignment. - public global::Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder GraphAppRoleAssignment - { - get => new global::Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to device. - public global::Microsoft.Graph.Me.OwnedDevices.GraphDevice.GraphDeviceRequestBuilder GraphDevice - { - get => new global::Microsoft.Graph.Me.OwnedDevices.GraphDevice.GraphDeviceRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to endpoint. - public global::Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.GraphEndpointRequestBuilder GraphEndpoint - { - get => new global::Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.GraphEndpointRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the ownedDevices property of the microsoft.graph.user entity. - /// The unique identifier of directoryObject - /// A - public global::Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("directoryObject%2Did", position); - return new global::Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder(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 OwnedDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices{?%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 OwnedDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of devices that are owned by the user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of devices that are owned by the user. - /// - /// 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.Me.OwnedDevices.OwnedDevicesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedDevices.OwnedDevicesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of devices that are owned by the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OwnedDevicesRequestBuilderGetQueryParameters - { - /// 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 OwnedDevicesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Count/CountRequestBuilder.cs deleted file mode 100644 index 68e14d3727a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OwnedObjects.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/ownedObjects/$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/ownedObjects/$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.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.Me.OwnedObjects.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.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/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs deleted file mode 100644 index 42aa73231d9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OwnedObjects.GraphApplication.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/ownedObjects/graph.application/$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/ownedObjects/graph.application/$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.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.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.GraphApplication.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/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs deleted file mode 100644 index b215945dcb2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedObjects.GraphApplication -{ - /// - /// Casts the previous resource to application. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphApplicationRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OwnedObjects.GraphApplication.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 GraphApplicationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/graph.application{?%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 GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/graph.application{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection - /// - /// 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.Me.OwnedObjects.GraphApplication.GraphApplicationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.GraphApplication.GraphApplicationRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphApplicationRequestBuilderGetQueryParameters - { - /// 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 GraphApplicationRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs deleted file mode 100644 index 62e9dab5685..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OwnedObjects.GraphGroup.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/ownedObjects/graph.group/$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/ownedObjects/graph.group/$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.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.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.GraphGroup.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/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs deleted file mode 100644 index 66bed491246..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedObjects.GraphGroup -{ - /// - /// Casts the previous resource to group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OwnedObjects.GraphGroup.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 GraphGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/graph.group{?%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 GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/graph.group{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection - /// - /// 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.Me.OwnedObjects.GraphGroup.GraphGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.GraphGroup.GraphGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilderGetQueryParameters - { - /// 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 GraphGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs deleted file mode 100644 index 63e999ac5ad..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.OwnedObjects.GraphServicePrincipal.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/ownedObjects/graph.servicePrincipal/$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/ownedObjects/graph.servicePrincipal/$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.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.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.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/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs deleted file mode 100644 index cf041952ec3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedObjects.GraphServicePrincipal -{ - /// - /// Casts the previous resource to servicePrincipal. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphServicePrincipalRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.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 GraphServicePrincipalRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/graph.servicePrincipal{?%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 GraphServicePrincipalRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/graph.servicePrincipal{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection - /// - /// 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.Me.OwnedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphServicePrincipalRequestBuilderGetQueryParameters - { - /// 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 GraphServicePrincipalRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs deleted file mode 100644 index 60d825d2526..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ /dev/null @@ -1,143 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication; -using Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup; -using Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedObjects.Item -{ - /// - /// Provides operations to manage the ownedObjects property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder - { - /// Casts the previous resource to application. - public global::Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.GraphApplicationRequestBuilder GraphApplication - { - get => new global::Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.GraphApplicationRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to group. - public global::Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.GraphGroupRequestBuilder GraphGroup - { - get => new global::Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.GraphGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to servicePrincipal. - public global::Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder GraphServicePrincipal - { - get => new global::Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder(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 DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). - /// - /// 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.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs deleted file mode 100644 index 6aca78b3a74..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedObjects.Item.GraphApplication -{ - /// - /// Casts the previous resource to application. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphApplicationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphApplicationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/{directoryObject%2Did}/graph.application{?%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 GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/{directoryObject%2Did}/graph.application{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application - /// - /// 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.Me.OwnedObjects.Item.GraphApplication.GraphApplicationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.GraphApplicationRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphApplicationRequestBuilderGetQueryParameters - { - /// 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 GraphApplicationRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs deleted file mode 100644 index 146230078d1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedObjects.Item.GraphGroup -{ - /// - /// Casts the previous resource to group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/{directoryObject%2Did}/graph.group{?%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 GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/{directoryObject%2Did}/graph.group{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.GraphGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.GraphGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilderGetQueryParameters - { - /// 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 GraphGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs deleted file mode 100644 index a14c5f10072..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedObjects.Item.GraphServicePrincipal -{ - /// - /// Casts the previous resource to servicePrincipal. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphServicePrincipalRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphServicePrincipalRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/{directoryObject%2Did}/graph.servicePrincipal{?%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 GraphServicePrincipalRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects/{directoryObject%2Did}/graph.servicePrincipal{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal - /// - /// 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.Me.OwnedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphServicePrincipalRequestBuilderGetQueryParameters - { - /// 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 GraphServicePrincipalRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/OwnedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/OwnedObjectsRequestBuilder.cs deleted file mode 100644 index 170035f0749..00000000000 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/OwnedObjectsRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.OwnedObjects.Count; -using Microsoft.Graph.Me.OwnedObjects.GraphApplication; -using Microsoft.Graph.Me.OwnedObjects.GraphGroup; -using Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal; -using Microsoft.Graph.Me.OwnedObjects.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.OwnedObjects -{ - /// - /// Provides operations to manage the ownedObjects property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OwnedObjectsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to application. - public global::Microsoft.Graph.Me.OwnedObjects.GraphApplication.GraphApplicationRequestBuilder GraphApplication - { - get => new global::Microsoft.Graph.Me.OwnedObjects.GraphApplication.GraphApplicationRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to group. - public global::Microsoft.Graph.Me.OwnedObjects.GraphGroup.GraphGroupRequestBuilder GraphGroup - { - get => new global::Microsoft.Graph.Me.OwnedObjects.GraphGroup.GraphGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to servicePrincipal. - public global::Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder GraphServicePrincipal - { - get => new global::Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the ownedObjects property of the microsoft.graph.user entity. - /// The unique identifier of directoryObject - /// A - public global::Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("directoryObject%2Did", position); - return new global::Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder(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 OwnedObjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects{?%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 OwnedObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/ownedObjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of directory objects that are owned by the user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of directory objects that are owned by the user. - /// - /// 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.Me.OwnedObjects.OwnedObjectsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.OwnedObjects.OwnedObjectsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of directory objects that are owned by the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OwnedObjectsRequestBuilderGetQueryParameters - { - /// 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 OwnedObjectsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/People/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/People/Count/CountRequestBuilder.cs deleted file mode 100644 index 40bbbf15570..00000000000 --- a/src/Microsoft.Graph/Generated/Me/People/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.People.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/people/$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/people/$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.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.Me.People.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.People.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/People/Item/PersonItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/People/Item/PersonItemRequestBuilder.cs deleted file mode 100644 index 8bb8af72367..00000000000 --- a/src/Microsoft.Graph/Generated/Me/People/Item/PersonItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.People.Item -{ - /// - /// Provides operations to manage the people property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PersonItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PersonItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/people/{person%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 PersonItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/people/{person%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// People that are relevant to the user. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Person.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// People that are relevant to the user. Read-only. Nullable. - /// - /// 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.Me.People.Item.PersonItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// People that are relevant to the user. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PersonItemRequestBuilderGetQueryParameters - { - /// 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 PersonItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/People/PeopleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/People/PeopleRequestBuilder.cs deleted file mode 100644 index 3aff56636fd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/People/PeopleRequestBuilder.cs +++ /dev/null @@ -1,184 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.People.Count; -using Microsoft.Graph.Me.People.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.People -{ - /// - /// Provides operations to manage the people property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PeopleRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.People.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.People.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the people property of the microsoft.graph.user entity. - /// The unique identifier of person - /// A - public global::Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("person%2Did", position); - return new global::Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder(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 PeopleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/people{?%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 PeopleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/people{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PersonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. - /// - /// 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.Me.People.PeopleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.People.PeopleRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PeopleRequestBuilderGetQueryParameters - { - /// 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 PeopleRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/PermissionGrants/Count/CountRequestBuilder.cs deleted file mode 100644 index 20bc4a0da0d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/PermissionGrants/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.PermissionGrants.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/permissionGrants/$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/permissionGrants/$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.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.Me.PermissionGrants.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.PermissionGrants.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/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs deleted file mode 100644 index f3720a28061..00000000000 --- a/src/Microsoft.Graph/Generated/Me/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.PermissionGrants.Item -{ - /// - /// Provides operations to manage the permissionGrants property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceSpecificPermissionGrantItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ResourceSpecificPermissionGrantItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/permissionGrants/{resourceSpecificPermissionGrant%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 ResourceSpecificPermissionGrantItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/permissionGrants/{resourceSpecificPermissionGrant%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property permissionGrants 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List all resource-specific permission grants of a user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property permissionGrants 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; - } - /// - /// List all resource-specific permission grants of a user. - /// - /// 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 permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder(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 ResourceSpecificPermissionGrantItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// List all resource-specific permission grants of a user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters - { - /// 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 ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration : 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 ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/PermissionGrants/PermissionGrantsRequestBuilder.cs deleted file mode 100644 index e3156af81c3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.PermissionGrants.Count; -using Microsoft.Graph.Me.PermissionGrants.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.PermissionGrants -{ - /// - /// Provides operations to manage the permissionGrants property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermissionGrantsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the permissionGrants property of the microsoft.graph.user entity. - /// The unique identifier of resourceSpecificPermissionGrant - /// A - public global::Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("resourceSpecificPermissionGrant%2Did", position); - return new global::Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder(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 PermissionGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/permissionGrants{?%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 PermissionGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/permissionGrants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// List all resource-specific permission grants of a user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List all resource-specific permission grants of a user. - /// - /// 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 permissionGrants 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.Models.ResourceSpecificPermissionGrant body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.PermissionGrants.PermissionGrantsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.PermissionGrants.PermissionGrantsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List all resource-specific permission grants of a user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PermissionGrantsRequestBuilderGetQueryParameters - { - /// 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 PermissionGrantsRequestBuilderGetRequestConfiguration : 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 PermissionGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photo/PhotoRequestBuilder.cs deleted file mode 100644 index 4c74944546e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Photo/PhotoRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Photo.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Photo -{ - /// - /// Provides operations to manage the photo property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder(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 PhotoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photo{?%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 PhotoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photo{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete the photo for the signed-in user or the specified group. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation. - /// 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 PatchAsync(global::Microsoft.Graph.Models.ProfilePhoto body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete the photo for the signed-in user or the specified group. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation 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 the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. - /// - /// 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 photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation. - /// - /// 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.Models.ProfilePhoto body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ProfilePhoto body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Photo.PhotoRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Photo.PhotoRequestBuilder(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 PhotoRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotoRequestBuilderGetQueryParameters - { - /// 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 PhotoRequestBuilderGetRequestConfiguration : 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 PhotoRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photo/Value/ContentRequestBuilder.cs deleted file mode 100644 index a5bca01cd27..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Photo/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,204 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Photo.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photo/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photo/$value", rawUrl) - { - } - /// - /// Delete the photo for the signed-in user or the specified group. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation. - /// Find more info here - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete the photo for the signed-in user or the specified group. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation 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 the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Photo.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Photos/Item/ProfilePhotoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photos/Item/ProfilePhotoItemRequestBuilder.cs deleted file mode 100644 index b3d26dc148b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Photos/Item/ProfilePhotoItemRequestBuilder.cs +++ /dev/null @@ -1,131 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Photos.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Photos.Item -{ - /// - /// Provides operations to manage the photos property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProfilePhotoItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder(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 ProfilePhotoItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos/{profilePhoto%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 ProfilePhotoItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos/{profilePhoto%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The collection of the user's profile photos in different sizes. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of the user's profile photos in different sizes. Read-only. - /// - /// 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.Me.Photos.Item.ProfilePhotoItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of the user's profile photos in different sizes. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProfilePhotoItemRequestBuilderGetQueryParameters - { - /// 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 ProfilePhotoItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Photos/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photos/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index 8ffea69b2b2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Photos/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Photos.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos/{profilePhoto%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos/{profilePhoto%2Did}/$value", rawUrl) - { - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Photos.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs deleted file mode 100644 index 1f6ba04ba80..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs +++ /dev/null @@ -1,177 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Photos.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Photos -{ - /// - /// Provides operations to manage the photos property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotosRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the photos property of the microsoft.graph.user entity. - /// The unique identifier of profilePhoto - /// A - public global::Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("profilePhoto%2Did", position); - return new global::Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder(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 PhotosRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos{?%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 PhotosRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of the user's profile photos in different sizes. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfilePhotoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of the user's profile photos in different sizes. Read-only. - /// - /// 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.Me.Photos.PhotosRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Photos.PhotosRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of the user's profile photos in different sizes. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PhotosRequestBuilderGetQueryParameters - { - /// 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 PhotosRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs deleted file mode 100644 index 96d24f9b894..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Plans; -using Microsoft.Graph.Me.Planner.Tasks; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner -{ - /// - /// Provides operations to manage the planner property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the plans property of the microsoft.graph.plannerUser entity. - public global::Microsoft.Graph.Me.Planner.Plans.PlansRequestBuilder Plans - { - get => new global::Microsoft.Graph.Me.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tasks property of the microsoft.graph.plannerUser entity. - public global::Microsoft.Graph.Me.Planner.Tasks.TasksRequestBuilder Tasks - { - get => new global::Microsoft.Graph.Me.Planner.Tasks.TasksRequestBuilder(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 PlannerRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner{?%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 PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property planner 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Entry-point to the Planner resource that might exist for a user. Read-only. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property planner 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.Models.PlannerUser body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerUser body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property planner 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; - } - /// - /// Entry-point to the Planner resource that might exist for a user. Read-only. - /// - /// 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 planner 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.Models.PlannerUser body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerUser body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.PlannerRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.PlannerRequestBuilder(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 PlannerRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Entry-point to the Planner resource that might exist for a user. Read-only. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerRequestBuilderGetQueryParameters - { - /// 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 PlannerRequestBuilderGetRequestConfiguration : 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 PlannerRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Count/CountRequestBuilder.cs deleted file mode 100644 index 212924b9931..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Planner.Plans.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/$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.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.Me.Planner.Plans.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs deleted file mode 100644 index b46ec3ff67a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count; -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets -{ - /// - /// Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BucketsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. - /// The unique identifier of plannerBucket - /// A - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("plannerBucket%2Did", position); - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder(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 BucketsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets{?%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 BucketsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Read-only. Nullable. Collection of buckets in the plan. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to buckets 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.Models.PlannerBucket body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.PlannerBucket body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Collection of buckets in the plan. - /// - /// 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 buckets 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.Models.PlannerBucket body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PlannerBucket body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.BucketsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.BucketsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Read-only. Nullable. Collection of buckets in the plan. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BucketsRequestBuilderGetQueryParameters - { - /// 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 BucketsRequestBuilderGetRequestConfiguration : 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 BucketsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs deleted file mode 100644 index 5ea2f38ecc8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/$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.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.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs deleted file mode 100644 index 256caddfe23..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets.Item -{ - /// - /// Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerBucketItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.TasksRequestBuilder Tasks - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.TasksRequestBuilder(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 PlannerBucketItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%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 PlannerBucketItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property buckets 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Collection of buckets in the plan. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property buckets 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.Models.PlannerBucket body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerBucket body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property buckets 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; - } - /// - /// Read-only. Nullable. Collection of buckets in the plan. - /// - /// 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 buckets 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.Models.PlannerBucket body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerBucket body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder(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 PlannerBucketItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Collection of buckets in the plan. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerBucketItemRequestBuilderGetQueryParameters - { - /// 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 PlannerBucketItemRequestBuilderGetRequestConfiguration : 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 PlannerBucketItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs deleted file mode 100644 index f3827596c9c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/$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.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.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs deleted file mode 100644 index f63db2ea51d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat -{ - /// - /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssignedToTaskBoardFormatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AssignedToTaskBoardFormatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat{?%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 AssignedToTaskBoardFormatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property assignedToTaskBoardFormat 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property assignedToTaskBoardFormat 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.Models.PlannerAssignedToTaskBoardTaskFormat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property assignedToTaskBoardFormat 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; - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - /// - /// 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 assignedToTaskBoardFormat 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.Models.PlannerAssignedToTaskBoardTaskFormat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder(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 AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters - { - /// 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 AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration : 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 AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs deleted file mode 100644 index a2de387f814..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat -{ - /// - /// Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BucketTaskBoardFormatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public BucketTaskBoardFormatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/bucketTaskBoardFormat{?%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 BucketTaskBoardFormatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/bucketTaskBoardFormat{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property bucketTaskBoardFormat 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property bucketTaskBoardFormat 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.Models.PlannerBucketTaskBoardTaskFormat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property bucketTaskBoardFormat 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; - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - /// - /// 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 bucketTaskBoardFormat 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.Models.PlannerBucketTaskBoardTaskFormat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder(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 BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BucketTaskBoardFormatRequestBuilderGetQueryParameters - { - /// 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 BucketTaskBoardFormatRequestBuilderGetRequestConfiguration : 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 BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs deleted file mode 100644 index 2ee175f5d30..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details -{ - /// - /// Provides operations to manage the details property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetailsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DetailsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/details{?%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 DetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/details{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property details 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. More details about the task. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property details 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.Models.PlannerTaskDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerTaskDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property details 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; - } - /// - /// Read-only. Nullable. More details about the task. - /// - /// 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 details 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.Models.PlannerTaskDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerTaskDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(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 DetailsRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. More details about the task. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetailsRequestBuilderGetQueryParameters - { - /// 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 DetailsRequestBuilderGetRequestConfiguration : 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 DetailsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs deleted file mode 100644 index 0723b08e35e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ /dev/null @@ -1,253 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item -{ - /// - /// Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder AssignedToTaskBoardFormat - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder BucketTaskBoardFormat - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the details property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Details - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder(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 PlannerTaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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 PlannerTaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property tasks 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. The collection of tasks in the bucket. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property tasks 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; - } - /// - /// Read-only. Nullable. The collection of tasks in the bucket. - /// - /// 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 tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder(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 PlannerTaskItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. The collection of tasks in the bucket. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerTaskItemRequestBuilderGetQueryParameters - { - /// 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 PlannerTaskItemRequestBuilderGetRequestConfiguration : 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 PlannerTaskItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs deleted file mode 100644 index 15a070d3490..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat -{ - /// - /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProgressTaskBoardFormatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ProgressTaskBoardFormatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/progressTaskBoardFormat{?%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 ProgressTaskBoardFormatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/progressTaskBoardFormat{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property progressTaskBoardFormat 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property progressTaskBoardFormat 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.Models.PlannerProgressTaskBoardTaskFormat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property progressTaskBoardFormat 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; - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - /// - /// 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 progressTaskBoardFormat 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.Models.PlannerProgressTaskBoardTaskFormat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder(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 ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProgressTaskBoardFormatRequestBuilderGetQueryParameters - { - /// 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 ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration : 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 ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs deleted file mode 100644 index 97880d1a4bb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count; -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Buckets.Item.Tasks -{ - /// - /// Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TasksRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. - /// The unique identifier of plannerTask - /// A - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("plannerTask%2Did", position); - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder(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 TasksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks{?%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 TasksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Read-only. Nullable. The collection of tasks in the bucket. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. The collection of tasks in the bucket. - /// - /// 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 tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.TasksRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.TasksRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Read-only. Nullable. The collection of tasks in the bucket. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TasksRequestBuilderGetQueryParameters - { - /// 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 TasksRequestBuilderGetRequestConfiguration : 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 TasksRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Details/DetailsRequestBuilder.cs deleted file mode 100644 index bca2a54d883..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Details/DetailsRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Details -{ - /// - /// Provides operations to manage the details property of the microsoft.graph.plannerPlan entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetailsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DetailsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/details{?%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 DetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/details{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property details 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Extra details about the plan. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property details 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.Models.PlannerPlanDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerPlanDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property details 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; - } - /// - /// Read-only. Nullable. Extra details about the plan. - /// - /// 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 details 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.Models.PlannerPlanDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerPlanDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Details.DetailsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Details.DetailsRequestBuilder(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 DetailsRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Extra details about the plan. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetailsRequestBuilderGetQueryParameters - { - /// 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 DetailsRequestBuilderGetRequestConfiguration : 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 DetailsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs deleted file mode 100644 index e50e764e3eb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ /dev/null @@ -1,247 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Plans.Item.Buckets; -using Microsoft.Graph.Me.Planner.Plans.Item.Details; -using Microsoft.Graph.Me.Planner.Plans.Item.Tasks; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item -{ - /// - /// Provides operations to manage the plans property of the microsoft.graph.plannerUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.BucketsRequestBuilder Buckets - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Buckets.BucketsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the details property of the microsoft.graph.plannerPlan entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Details.DetailsRequestBuilder Details - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.TasksRequestBuilder Tasks - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.TasksRequestBuilder(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 PlannerPlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%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 PlannerPlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property plans 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Returns the plannerTasks assigned to the user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property plans 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.Models.PlannerPlan body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerPlan body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property plans 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; - } - /// - /// Read-only. Nullable. Returns the plannerTasks assigned to the user. - /// - /// 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 plans 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.Models.PlannerPlan body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerPlan body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder(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 PlannerPlanItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Returns the plannerTasks assigned to the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerPlanItemRequestBuilderGetQueryParameters - { - /// 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 PlannerPlanItemRequestBuilderGetRequestConfiguration : 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 PlannerPlanItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs deleted file mode 100644 index 3fadef830e5..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Planner.Plans.Item.Tasks.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/$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.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.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs deleted file mode 100644 index 9c74da86447..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat -{ - /// - /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssignedToTaskBoardFormatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AssignedToTaskBoardFormatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat{?%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 AssignedToTaskBoardFormatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property assignedToTaskBoardFormat 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property assignedToTaskBoardFormat 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.Models.PlannerAssignedToTaskBoardTaskFormat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property assignedToTaskBoardFormat 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; - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - /// - /// 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 assignedToTaskBoardFormat 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.Models.PlannerAssignedToTaskBoardTaskFormat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder(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 AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters - { - /// 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 AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration : 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 AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs deleted file mode 100644 index dc4e9e4abe2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat -{ - /// - /// Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BucketTaskBoardFormatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public BucketTaskBoardFormatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/bucketTaskBoardFormat{?%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 BucketTaskBoardFormatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/bucketTaskBoardFormat{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property bucketTaskBoardFormat 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property bucketTaskBoardFormat 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.Models.PlannerBucketTaskBoardTaskFormat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property bucketTaskBoardFormat 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; - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - /// - /// 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 bucketTaskBoardFormat 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.Models.PlannerBucketTaskBoardTaskFormat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder(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 BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BucketTaskBoardFormatRequestBuilderGetQueryParameters - { - /// 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 BucketTaskBoardFormatRequestBuilderGetRequestConfiguration : 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 BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs deleted file mode 100644 index 4ac643e5b7c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Tasks.Item.Details -{ - /// - /// Provides operations to manage the details property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetailsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DetailsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/details{?%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 DetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/details{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property details 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. More details about the task. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property details 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.Models.PlannerTaskDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerTaskDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property details 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; - } - /// - /// Read-only. Nullable. More details about the task. - /// - /// 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 details 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.Models.PlannerTaskDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerTaskDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(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 DetailsRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. More details about the task. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetailsRequestBuilderGetQueryParameters - { - /// 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 DetailsRequestBuilderGetRequestConfiguration : 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 DetailsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs deleted file mode 100644 index 8626dc62f1b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ /dev/null @@ -1,253 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; -using Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; -using Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details; -using Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Tasks.Item -{ - /// - /// Provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder AssignedToTaskBoardFormat - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder BucketTaskBoardFormat - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the details property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Details - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder(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 PlannerTaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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 PlannerTaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property tasks 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Collection of tasks in the plan. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property tasks 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; - } - /// - /// Read-only. Nullable. Collection of tasks in the plan. - /// - /// 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 tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder(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 PlannerTaskItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Collection of tasks in the plan. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerTaskItemRequestBuilderGetQueryParameters - { - /// 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 PlannerTaskItemRequestBuilderGetRequestConfiguration : 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 PlannerTaskItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs deleted file mode 100644 index bf9dfdd35fa..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat -{ - /// - /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProgressTaskBoardFormatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ProgressTaskBoardFormatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/progressTaskBoardFormat{?%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 ProgressTaskBoardFormatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/progressTaskBoardFormat{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property progressTaskBoardFormat 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property progressTaskBoardFormat 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.Models.PlannerProgressTaskBoardTaskFormat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property progressTaskBoardFormat 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; - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - /// - /// 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 progressTaskBoardFormat 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.Models.PlannerProgressTaskBoardTaskFormat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder(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 ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProgressTaskBoardFormatRequestBuilderGetQueryParameters - { - /// 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 ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration : 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 ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs deleted file mode 100644 index fa72214b4af..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count; -using Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans.Item.Tasks -{ - /// - /// Provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TasksRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. - /// The unique identifier of plannerTask - /// A - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("plannerTask%2Did", position); - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder(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 TasksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks{?%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 TasksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Read-only. Nullable. Collection of tasks in the plan. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Collection of tasks in the plan. - /// - /// 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 tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.TasksRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.Item.Tasks.TasksRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Read-only. Nullable. Collection of tasks in the plan. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TasksRequestBuilderGetQueryParameters - { - /// 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 TasksRequestBuilderGetRequestConfiguration : 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 TasksRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/PlansRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/PlansRequestBuilder.cs deleted file mode 100644 index f0e818fe9cf..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/PlansRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Plans.Count; -using Microsoft.Graph.Me.Planner.Plans.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Plans -{ - /// - /// Provides operations to manage the plans property of the microsoft.graph.plannerUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlansRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the plans property of the microsoft.graph.plannerUser entity. - /// The unique identifier of plannerPlan - /// A - public global::Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("plannerPlan%2Did", position); - return new global::Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder(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 PlansRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans{?%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 PlansRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of plannerplan objects shared with a user object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerPlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to plans 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.Models.PlannerPlan body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.PlannerPlan body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of plannerplan objects shared with 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; - } - /// - /// Create new navigation property to plans 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.Models.PlannerPlan body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PlannerPlan body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Plans.PlansRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Plans.PlansRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of plannerplan objects shared with a user object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlansRequestBuilderGetQueryParameters - { - /// 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 PlansRequestBuilderGetRequestConfiguration : 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 PlansRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Count/CountRequestBuilder.cs deleted file mode 100644 index 091667cdedc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Planner.Tasks.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/$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.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.Me.Planner.Tasks.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs deleted file mode 100644 index ccf7901792f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat -{ - /// - /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssignedToTaskBoardFormatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AssignedToTaskBoardFormatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat{?%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 AssignedToTaskBoardFormatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property assignedToTaskBoardFormat 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property assignedToTaskBoardFormat 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.Models.PlannerAssignedToTaskBoardTaskFormat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property assignedToTaskBoardFormat 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; - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - /// - /// 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 assignedToTaskBoardFormat 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.Models.PlannerAssignedToTaskBoardTaskFormat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder(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 AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters - { - /// 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 AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration : 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 AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs deleted file mode 100644 index 111d411818d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Tasks.Item.BucketTaskBoardFormat -{ - /// - /// Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BucketTaskBoardFormatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public BucketTaskBoardFormatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/bucketTaskBoardFormat{?%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 BucketTaskBoardFormatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/bucketTaskBoardFormat{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property bucketTaskBoardFormat 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property bucketTaskBoardFormat 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.Models.PlannerBucketTaskBoardTaskFormat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property bucketTaskBoardFormat 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; - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - /// - /// 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 bucketTaskBoardFormat 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.Models.PlannerBucketTaskBoardTaskFormat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder(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 BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BucketTaskBoardFormatRequestBuilderGetQueryParameters - { - /// 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 BucketTaskBoardFormatRequestBuilderGetRequestConfiguration : 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 BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs deleted file mode 100644 index 2b213e1f637..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Tasks.Item.Details -{ - /// - /// Provides operations to manage the details property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetailsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DetailsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/details{?%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 DetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/details{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property details 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. More details about the task. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property details 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.Models.PlannerTaskDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerTaskDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property details 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; - } - /// - /// Read-only. Nullable. More details about the task. - /// - /// 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 details 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.Models.PlannerTaskDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerTaskDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Tasks.Item.Details.DetailsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Tasks.Item.Details.DetailsRequestBuilder(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 DetailsRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. More details about the task. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DetailsRequestBuilderGetQueryParameters - { - /// 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 DetailsRequestBuilderGetRequestConfiguration : 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 DetailsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs deleted file mode 100644 index e88a58094d7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ /dev/null @@ -1,253 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat; -using Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat; -using Microsoft.Graph.Me.Planner.Tasks.Item.Details; -using Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Tasks.Item -{ - /// - /// Provides operations to manage the tasks property of the microsoft.graph.plannerUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder AssignedToTaskBoardFormat - { - get => new global::Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder BucketTaskBoardFormat - { - get => new global::Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the details property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Tasks.Item.Details.DetailsRequestBuilder Details - { - get => new global::Microsoft.Graph.Me.Planner.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. - public global::Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat - { - get => new global::Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder(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 PlannerTaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%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 PlannerTaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property tasks 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Returns the plannerPlans shared with the user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property tasks 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; - } - /// - /// Read-only. Nullable. Returns the plannerPlans shared with the user. - /// - /// 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 tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder(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 PlannerTaskItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Returns the plannerPlans shared with the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PlannerTaskItemRequestBuilderGetQueryParameters - { - /// 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 PlannerTaskItemRequestBuilderGetRequestConfiguration : 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 PlannerTaskItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs deleted file mode 100644 index 285b29215b1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Tasks.Item.ProgressTaskBoardFormat -{ - /// - /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProgressTaskBoardFormatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ProgressTaskBoardFormatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/progressTaskBoardFormat{?%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 ProgressTaskBoardFormatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/progressTaskBoardFormat{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property progressTaskBoardFormat 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property progressTaskBoardFormat 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.Models.PlannerProgressTaskBoardTaskFormat body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property progressTaskBoardFormat 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; - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - /// - /// 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 progressTaskBoardFormat 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.Models.PlannerProgressTaskBoardTaskFormat body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder(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 ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProgressTaskBoardFormatRequestBuilderGetQueryParameters - { - /// 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 ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration : 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 ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/TasksRequestBuilder.cs deleted file mode 100644 index 08a1f463839..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/TasksRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Planner.Tasks.Count; -using Microsoft.Graph.Me.Planner.Tasks.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Planner.Tasks -{ - /// - /// Provides operations to manage the tasks property of the microsoft.graph.plannerUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TasksRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tasks property of the microsoft.graph.plannerUser entity. - /// The unique identifier of plannerTask - /// A - public global::Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("plannerTask%2Did", position); - return new global::Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder(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 TasksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks{?%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 TasksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Retrieve a list of plannertask objects assigned to a User. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retrieve a list of plannertask objects assigned to a User. - /// - /// 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 tasks 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.Models.PlannerTask body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PlannerTask body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Planner.Tasks.TasksRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Planner.Tasks.TasksRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Retrieve a list of plannertask objects assigned to a User. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TasksRequestBuilderGetQueryParameters - { - /// 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 TasksRequestBuilderGetRequestConfiguration : 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 TasksRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs deleted file mode 100644 index 7e983908b08..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.ClearAutomaticLocation -{ - /// - /// Provides operations to call the clearAutomaticLocation method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ClearAutomaticLocationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ClearAutomaticLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearAutomaticLocation", 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 ClearAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearAutomaticLocation", rawUrl) - { - } - /// - /// Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. - /// - /// 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.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder(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 ClearAutomaticLocationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/ClearLocation/ClearLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/ClearLocation/ClearLocationRequestBuilder.cs deleted file mode 100644 index 5372ad58d14..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/ClearLocation/ClearLocationRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.ClearLocation -{ - /// - /// Provides operations to call the clearLocation method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ClearLocationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ClearLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearLocation", 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 ClearLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearLocation", rawUrl) - { - } - /// - /// Clear the work location signals for a user, including both the manual and automatic layers for the current date. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Clear the work location signals for a user, including both the manual and automatic layers for the current date. - /// - /// 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.Me.Presence.ClearLocation.ClearLocationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder(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 ClearLocationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresencePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresencePostRequestBody.cs deleted file mode 100644 index 24ec89276d7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresencePostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.Presence.ClearPresence -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ClearPresencePostRequestBody : 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 sessionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SessionId - { - get { return BackingStore?.Get("sessionId"); } - set { BackingStore?.Set("sessionId", value); } - } -#nullable restore -#else - public string SessionId - { - get { return BackingStore?.Get("sessionId"); } - set { BackingStore?.Set("sessionId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ClearPresencePostRequestBody() - { - 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.Me.Presence.ClearPresence.ClearPresencePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Presence.ClearPresence.ClearPresencePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "sessionId", n => { SessionId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("sessionId", SessionId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresenceRequestBuilder.cs deleted file mode 100644 index d8d08e5e965..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresenceRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.ClearPresence -{ - /// - /// Provides operations to call the clearPresence method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ClearPresenceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ClearPresenceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearPresence", 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 ClearPresenceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearPresence", rawUrl) - { - } - /// - /// Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.ClearPresence.ClearPresencePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.ClearPresence.ClearPresencePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. - /// - /// 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.Me.Presence.ClearPresence.ClearPresencePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Presence.ClearPresence.ClearPresencePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Presence.ClearPresence.ClearPresenceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.ClearPresence.ClearPresenceRequestBuilder(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 ClearPresenceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs deleted file mode 100644 index 7b17930f6f7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.ClearUserPreferredPresence -{ - /// - /// Provides operations to call the clearUserPreferredPresence method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ClearUserPreferredPresenceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ClearUserPreferredPresenceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearUserPreferredPresence", 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 ClearUserPreferredPresenceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearUserPreferredPresence", rawUrl) - { - } - /// - /// Clear the preferred availability and activity status for a user. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Clear the preferred availability and activity status for a user. - /// - /// 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.Me.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder(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 ClearUserPreferredPresenceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs deleted file mode 100644 index 0f67c551dc6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs +++ /dev/null @@ -1,284 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Presence.ClearAutomaticLocation; -using Microsoft.Graph.Me.Presence.ClearLocation; -using Microsoft.Graph.Me.Presence.ClearPresence; -using Microsoft.Graph.Me.Presence.ClearUserPreferredPresence; -using Microsoft.Graph.Me.Presence.SetAutomaticLocation; -using Microsoft.Graph.Me.Presence.SetManualLocation; -using Microsoft.Graph.Me.Presence.SetPresence; -using Microsoft.Graph.Me.Presence.SetStatusMessage; -using Microsoft.Graph.Me.Presence.SetUserPreferredPresence; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Presence -{ - /// - /// Provides operations to manage the presence property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PresenceRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the clearAutomaticLocation method. - public global::Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder ClearAutomaticLocation - { - get => new global::Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the clearLocation method. - public global::Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder ClearLocation - { - get => new global::Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the clearPresence method. - public global::Microsoft.Graph.Me.Presence.ClearPresence.ClearPresenceRequestBuilder ClearPresence - { - get => new global::Microsoft.Graph.Me.Presence.ClearPresence.ClearPresenceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the clearUserPreferredPresence method. - public global::Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder ClearUserPreferredPresence - { - get => new global::Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setAutomaticLocation method. - public global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder SetAutomaticLocation - { - get => new global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setManualLocation method. - public global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder SetManualLocation - { - get => new global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setPresence method. - public global::Microsoft.Graph.Me.Presence.SetPresence.SetPresenceRequestBuilder SetPresence - { - get => new global::Microsoft.Graph.Me.Presence.SetPresence.SetPresenceRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setStatusMessage method. - public global::Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessageRequestBuilder SetStatusMessage - { - get => new global::Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessageRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setUserPreferredPresence method. - public global::Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresenceRequestBuilder SetUserPreferredPresence - { - get => new global::Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresenceRequestBuilder(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 PresenceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence{?%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 PresenceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property presence 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a user's presence information. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property presence 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.Models.Presence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Presence body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property presence 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 a user's presence information. - /// - /// 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 presence 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.Models.Presence body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Presence body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Presence.PresenceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.PresenceRequestBuilder(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 PresenceRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get a user's presence information. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PresenceRequestBuilderGetQueryParameters - { - /// 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 PresenceRequestBuilderGetRequestConfiguration : 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 PresenceRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs deleted file mode 100644 index f5dee05155d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.SetAutomaticLocation -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetAutomaticLocationPostRequestBody : 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 placeId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } -#nullable restore -#else - public string PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } -#endif - /// The workLocationType property - public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType - { - get { return BackingStore?.Get("workLocationType"); } - set { BackingStore?.Set("workLocationType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public SetAutomaticLocationPostRequestBody() - { - 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.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "placeId", n => { PlaceId = n.GetStringValue(); } }, - { "workLocationType", n => { WorkLocationType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("placeId", PlaceId); - writer.WriteEnumValue("workLocationType", WorkLocationType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs deleted file mode 100644 index 5b274f20d2d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.SetAutomaticLocation -{ - /// - /// Provides operations to call the setAutomaticLocation method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetAutomaticLocationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetAutomaticLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setAutomaticLocation", 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 SetAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setAutomaticLocation", rawUrl) - { - } - /// - /// Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. - /// - /// 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.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder(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 SetAutomaticLocationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationPostRequestBody.cs deleted file mode 100644 index bb9a7d68786..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationPostRequestBody.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.SetManualLocation -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetManualLocationPostRequestBody : 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 placeId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } -#nullable restore -#else - public string PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } -#endif - /// The workLocationType property - public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType - { - get { return BackingStore?.Get("workLocationType"); } - set { BackingStore?.Set("workLocationType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public SetManualLocationPostRequestBody() - { - 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.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "placeId", n => { PlaceId = n.GetStringValue(); } }, - { "workLocationType", n => { WorkLocationType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("placeId", PlaceId); - writer.WriteEnumValue("workLocationType", WorkLocationType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs deleted file mode 100644 index a9deebc1822..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.SetManualLocation -{ - /// - /// Provides operations to call the setManualLocation method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetManualLocationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetManualLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setManualLocation", 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 SetManualLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setManualLocation", rawUrl) - { - } - /// - /// Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. - /// - /// 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.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder(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 SetManualLocationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresencePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresencePostRequestBody.cs deleted file mode 100644 index adbd2660fdb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresencePostRequestBody.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#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.Me.Presence.SetPresence -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetPresencePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// The activity property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Activity - { - get { return BackingStore?.Get("activity"); } - set { BackingStore?.Set("activity", value); } - } -#nullable restore -#else - public string Activity - { - get { return BackingStore?.Get("activity"); } - set { BackingStore?.Set("activity", value); } - } -#endif - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// The availability property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Availability - { - get { return BackingStore?.Get("availability"); } - set { BackingStore?.Set("availability", value); } - } -#nullable restore -#else - public string Availability - { - get { return BackingStore?.Get("availability"); } - set { BackingStore?.Set("availability", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The expirationDuration property - public TimeSpan? ExpirationDuration - { - get { return BackingStore?.Get("expirationDuration"); } - set { BackingStore?.Set("expirationDuration", value); } - } - /// The sessionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SessionId - { - get { return BackingStore?.Get("sessionId"); } - set { BackingStore?.Set("sessionId", value); } - } -#nullable restore -#else - public string SessionId - { - get { return BackingStore?.Get("sessionId"); } - set { BackingStore?.Set("sessionId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SetPresencePostRequestBody() - { - 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.Me.Presence.SetPresence.SetPresencePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Presence.SetPresence.SetPresencePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "activity", n => { Activity = n.GetStringValue(); } }, - { "availability", n => { Availability = n.GetStringValue(); } }, - { "expirationDuration", n => { ExpirationDuration = n.GetTimeSpanValue(); } }, - { "sessionId", n => { SessionId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("activity", Activity); - writer.WriteStringValue("availability", Availability); - writer.WriteTimeSpanValue("expirationDuration", ExpirationDuration); - writer.WriteStringValue("sessionId", SessionId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresenceRequestBuilder.cs deleted file mode 100644 index 25401f45c3f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresenceRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.SetPresence -{ - /// - /// Provides operations to call the setPresence method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetPresenceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetPresenceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setPresence", 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 SetPresenceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setPresence", rawUrl) - { - } - /// - /// Set the state of a user's presence session as an application. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetPresence.SetPresencePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetPresence.SetPresencePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Set the state of a user's presence session as an application. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API. - /// - /// 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.Me.Presence.SetPresence.SetPresencePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Presence.SetPresence.SetPresencePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Presence.SetPresence.SetPresenceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.SetPresence.SetPresenceRequestBuilder(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 SetPresenceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessagePostRequestBody.cs deleted file mode 100644 index 36f14e8402b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessagePostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.SetStatusMessage -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetStatusMessagePostRequestBody : 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 statusMessage property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.PresenceStatusMessage? StatusMessage - { - get { return BackingStore?.Get("statusMessage"); } - set { BackingStore?.Set("statusMessage", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.PresenceStatusMessage StatusMessage - { - get { return BackingStore?.Get("statusMessage"); } - set { BackingStore?.Set("statusMessage", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SetStatusMessagePostRequestBody() - { - 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.Me.Presence.SetStatusMessage.SetStatusMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessagePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "statusMessage", n => { StatusMessage = n.GetObjectValue(global::Microsoft.Graph.Models.PresenceStatusMessage.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("statusMessage", StatusMessage); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs deleted file mode 100644 index 3d87654c103..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.SetStatusMessage -{ - /// - /// Provides operations to call the setStatusMessage method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetStatusMessageRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetStatusMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setStatusMessage", 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 SetStatusMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setStatusMessage", rawUrl) - { - } - /// - /// Set a presence status message for a user. An optional expiration date and time can be supplied. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessagePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Set a presence status message for a user. An optional expiration date and time can be supplied. - /// - /// 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.Me.Presence.SetStatusMessage.SetStatusMessagePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessagePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessageRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessageRequestBuilder(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 SetStatusMessageRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresencePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresencePostRequestBody.cs deleted file mode 100644 index 276b357157d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresencePostRequestBody.cs +++ /dev/null @@ -1,107 +0,0 @@ -// -#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.Me.Presence.SetUserPreferredPresence -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetUserPreferredPresencePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// The activity property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Activity - { - get { return BackingStore?.Get("activity"); } - set { BackingStore?.Set("activity", value); } - } -#nullable restore -#else - public string Activity - { - get { return BackingStore?.Get("activity"); } - set { BackingStore?.Set("activity", value); } - } -#endif - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// The availability property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Availability - { - get { return BackingStore?.Get("availability"); } - set { BackingStore?.Set("availability", value); } - } -#nullable restore -#else - public string Availability - { - get { return BackingStore?.Get("availability"); } - set { BackingStore?.Set("availability", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The expirationDuration property - public TimeSpan? ExpirationDuration - { - get { return BackingStore?.Get("expirationDuration"); } - set { BackingStore?.Set("expirationDuration", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public SetUserPreferredPresencePostRequestBody() - { - 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.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresencePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresencePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "activity", n => { Activity = n.GetStringValue(); } }, - { "availability", n => { Availability = n.GetStringValue(); } }, - { "expirationDuration", n => { ExpirationDuration = n.GetTimeSpanValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("activity", Activity); - writer.WriteStringValue("availability", Availability); - writer.WriteTimeSpanValue("expirationDuration", ExpirationDuration); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs deleted file mode 100644 index bf113059c23..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Presence.SetUserPreferredPresence -{ - /// - /// Provides operations to call the setUserPreferredPresence method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetUserPreferredPresenceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetUserPreferredPresenceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setUserPreferredPresence", 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 SetUserPreferredPresenceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setUserPreferredPresence", rawUrl) - { - } - /// - /// Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresencePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresencePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. - /// - /// 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.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresencePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresencePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresenceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresenceRequestBuilder(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 SetUserPreferredPresenceRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Count/CountRequestBuilder.cs deleted file mode 100644 index e62b7ee177c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.RegisteredDevices.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/registeredDevices/$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/registeredDevices/$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.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.Me.RegisteredDevices.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.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/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs deleted file mode 100644 index c1374a43ff2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.RegisteredDevices.GraphAppRoleAssignment.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/registeredDevices/graph.appRoleAssignment/$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/registeredDevices/graph.appRoleAssignment/$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.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.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.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/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs deleted file mode 100644 index b9f505ba816..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.RegisteredDevices.GraphAppRoleAssignment -{ - /// - /// Casts the previous resource to appRoleAssignment. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAppRoleAssignmentRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.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 GraphAppRoleAssignmentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/graph.appRoleAssignment{?%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 GraphAppRoleAssignmentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/graph.appRoleAssignment{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection - /// - /// 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.Me.RegisteredDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAppRoleAssignmentRequestBuilderGetQueryParameters - { - /// 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 GraphAppRoleAssignmentRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs deleted file mode 100644 index b44297c02b8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.RegisteredDevices.GraphDevice.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/registeredDevices/graph.device/$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/registeredDevices/graph.device/$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.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.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.GraphDevice.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/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs deleted file mode 100644 index c2c0338e0a2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.RegisteredDevices.GraphDevice -{ - /// - /// Casts the previous resource to device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDeviceRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.GraphDevice.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 GraphDeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/graph.device{?%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 GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/graph.device{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection - /// - /// 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.Me.RegisteredDevices.GraphDevice.GraphDeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.GraphDevice.GraphDeviceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDeviceRequestBuilderGetQueryParameters - { - /// 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 GraphDeviceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs deleted file mode 100644 index 7ea35e4c853..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.RegisteredDevices.GraphEndpoint.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/registeredDevices/graph.endpoint/$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/registeredDevices/graph.endpoint/$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.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.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.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/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs deleted file mode 100644 index a03b5305655..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.RegisteredDevices.GraphEndpoint -{ - /// - /// Casts the previous resource to endpoint. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphEndpointRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.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 GraphEndpointRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/graph.endpoint{?%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 GraphEndpointRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/graph.endpoint{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection - /// - /// 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.Me.RegisteredDevices.GraphEndpoint.GraphEndpointRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.GraphEndpointRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphEndpointRequestBuilderGetQueryParameters - { - /// 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 GraphEndpointRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs deleted file mode 100644 index 51c3640c054..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs +++ /dev/null @@ -1,143 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment; -using Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice; -using Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.RegisteredDevices.Item -{ - /// - /// Provides operations to manage the registeredDevices property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder - { - /// Casts the previous resource to appRoleAssignment. - public global::Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder GraphAppRoleAssignment - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to device. - public global::Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.GraphDeviceRequestBuilder GraphDevice - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.GraphDeviceRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to endpoint. - public global::Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder GraphEndpoint - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder(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 DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Devices that are registered for the user. Read-only. Nullable. Supports $expand and returns up to 100 objects. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Devices that are registered for the user. Read-only. Nullable. Supports $expand and returns up to 100 objects. - /// - /// 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.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Devices that are registered for the user. Read-only. Nullable. Supports $expand and returns up to 100 objects. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs deleted file mode 100644 index ecf145635ba..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.RegisteredDevices.Item.GraphAppRoleAssignment -{ - /// - /// Casts the previous resource to appRoleAssignment. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAppRoleAssignmentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphAppRoleAssignmentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/{directoryObject%2Did}/graph.appRoleAssignment{?%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 GraphAppRoleAssignmentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/{directoryObject%2Did}/graph.appRoleAssignment{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment - /// - /// 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.Me.RegisteredDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAppRoleAssignmentRequestBuilderGetQueryParameters - { - /// 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 GraphAppRoleAssignmentRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs deleted file mode 100644 index 752102d0b92..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.RegisteredDevices.Item.GraphDevice -{ - /// - /// Casts the previous resource to device. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDeviceRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphDeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/{directoryObject%2Did}/graph.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 GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/{directoryObject%2Did}/graph.device{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device - /// - /// 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.Me.RegisteredDevices.Item.GraphDevice.GraphDeviceRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.GraphDeviceRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDeviceRequestBuilderGetQueryParameters - { - /// 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 GraphDeviceRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs deleted file mode 100644 index 5a8c62da304..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.RegisteredDevices.Item.GraphEndpoint -{ - /// - /// Casts the previous resource to endpoint. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphEndpointRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphEndpointRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/{directoryObject%2Did}/graph.endpoint{?%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 GraphEndpointRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices/{directoryObject%2Did}/graph.endpoint{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint - /// - /// 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.Me.RegisteredDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphEndpointRequestBuilderGetQueryParameters - { - /// 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 GraphEndpointRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/RegisteredDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/RegisteredDevicesRequestBuilder.cs deleted file mode 100644 index 75068e9cf5d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/RegisteredDevicesRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.RegisteredDevices.Count; -using Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment; -using Microsoft.Graph.Me.RegisteredDevices.GraphDevice; -using Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint; -using Microsoft.Graph.Me.RegisteredDevices.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.RegisteredDevices -{ - /// - /// Provides operations to manage the registeredDevices property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RegisteredDevicesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to appRoleAssignment. - public global::Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder GraphAppRoleAssignment - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to device. - public global::Microsoft.Graph.Me.RegisteredDevices.GraphDevice.GraphDeviceRequestBuilder GraphDevice - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.GraphDevice.GraphDeviceRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to endpoint. - public global::Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.GraphEndpointRequestBuilder GraphEndpoint - { - get => new global::Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.GraphEndpointRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the registeredDevices property of the microsoft.graph.user entity. - /// The unique identifier of directoryObject - /// A - public global::Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("directoryObject%2Did", position); - return new global::Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder(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 RegisteredDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices{?%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 RegisteredDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/registeredDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of user's registered devices. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of user's registered devices. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.RegisteredDevices.RegisteredDevicesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RegisteredDevices.RegisteredDevicesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of user's registered devices. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RegisteredDevicesRequestBuilderGetQueryParameters - { - /// 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 RegisteredDevicesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeGetResponse.cs deleted file mode 100644 index fa507640aae..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReminderViewWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.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.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeGetResponse(); - } - /// - /// 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.Models.Reminder.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs deleted file mode 100644 index 429f5269617..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ /dev/null @@ -1,163 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ReminderViewWithStartDateTimeWithEndDateTime -{ - /// - /// Provides operations to call the reminderView method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder : 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 ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string endDateTime = "", string startDateTime = "") : base(requestAdapter, "{+baseurl}/me/reminderView(StartDateTime='{StartDateTime}',EndDateTime='{EndDateTime}'){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - if (!string.IsNullOrWhiteSpace(endDateTime)) PathParameters.Add("EndDateTime", endDateTime); - if (!string.IsNullOrWhiteSpace(startDateTime)) 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 ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/reminderView(StartDateTime='{StartDateTime}',EndDateTime='{EndDateTime}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function reminderView - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsReminderViewWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsReminderViewWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function reminderView - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsReminderViewWithStartDateTimeWithEndDateTimeGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function reminderView - /// - /// 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.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function reminderView - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters - { - /// 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 ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeResponse.cs deleted file mode 100644 index 9e53795e6e3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.ReminderViewWithStartDateTimeWithEndDateTime -{ - [Obsolete("This class is obsolete. Use ReminderViewWithStartDateTimeWithEndDateTimeGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ReminderViewWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeGetResponse, 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.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs deleted file mode 100644 index e954f85ca81..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.RemoveAllDevicesFromManagement -{ - /// - /// Provides operations to call the removeAllDevicesFromManagement method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RemoveAllDevicesFromManagementRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RemoveAllDevicesFromManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/removeAllDevicesFromManagement", 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 RemoveAllDevicesFromManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/removeAllDevicesFromManagement", rawUrl) - { - } - /// - /// Retire all devices from management for this user - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retire all devices from management for this user - /// - /// 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.Me.RemoveAllDevicesFromManagement.RemoveAllDevicesFromManagementRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RemoveAllDevicesFromManagement.RemoveAllDevicesFromManagementRequestBuilder(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 RemoveAllDevicesFromManagementRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs deleted file mode 100644 index 09175e975c2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ReprocessLicenseAssignment -{ - /// - /// Provides operations to call the reprocessLicenseAssignment method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ReprocessLicenseAssignmentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ReprocessLicenseAssignmentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/reprocessLicenseAssignment", 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 ReprocessLicenseAssignmentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/reprocessLicenseAssignment", rawUrl) - { - } - /// - /// Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. - /// - /// 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.Me.ReprocessLicenseAssignment.ReprocessLicenseAssignmentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ReprocessLicenseAssignment.ReprocessLicenseAssignmentRequestBuilder(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 ReprocessLicenseAssignmentRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs deleted file mode 100644 index 71eb9e96049..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Restore -{ - /// - /// Provides operations to call the restore method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RestoreRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/restore", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/restore", rawUrl) - { - } - /// - /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. - /// - /// 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.Me.Restore.RestoreRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs deleted file mode 100644 index 19a4f6bf2d3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.RetryServiceProvisioning -{ - /// - /// Provides operations to call the retryServiceProvisioning method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RetryServiceProvisioningRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RetryServiceProvisioningRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/retryServiceProvisioning", 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 RetryServiceProvisioningRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/retryServiceProvisioning", rawUrl) - { - } - /// - /// Retry the provisioning of a user object in Microsoft Entra ID. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Retry the provisioning of a user object in Microsoft Entra ID. - /// - /// 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.Me.RetryServiceProvisioning.RetryServiceProvisioningRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RetryServiceProvisioning.RetryServiceProvisioningRequestBuilder(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 RetryServiceProvisioningRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs deleted file mode 100644 index 46d67bbb1e6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#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.Me.RevokeSignInSessions -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RevokeSignInSessionsPostResponse : 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 value property - public bool? Value - { - get { return BackingStore?.Get("value"); } - set { BackingStore?.Set("value", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public RevokeSignInSessionsPostResponse() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - Value = false; - } - /// - /// 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.Me.RevokeSignInSessions.RevokeSignInSessionsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsPostResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "value", n => { Value = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteBoolValue("value", Value); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs deleted file mode 100644 index 2e346d8d0a2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs +++ /dev/null @@ -1,123 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.RevokeSignInSessions -{ - /// - /// Provides operations to call the revokeSignInSessions method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RevokeSignInSessionsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RevokeSignInSessionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/revokeSignInSessions", 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 RevokeSignInSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/revokeSignInSessions", rawUrl) - { - } - /// - /// Invalidates all the refresh tokens issued to applications for a user (and session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they consented to previously, independent of device. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsRevokeSignInSessionsPostResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsRevokeSignInSessionsPostResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToPostRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invalidates all the refresh tokens issued to applications for a user (and session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they consented to previously, independent of device. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use PostAsRevokeSignInSessionsPostResponseAsync instead.")] -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invalidates all the refresh tokens issued to applications for a user (and session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they consented to previously, independent of device. - /// - /// 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.Me.RevokeSignInSessions.RevokeSignInSessionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsRequestBuilder(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 RevokeSignInSessionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsResponse.cs b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsResponse.cs deleted file mode 100644 index 84a10706f96..00000000000 --- a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.RevokeSignInSessions -{ - [Obsolete("This class is obsolete. Use RevokeSignInSessionsPostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RevokeSignInSessionsResponse : global::Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsPostResponse, 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.Me.RevokeSignInSessions.RevokeSignInSessionsResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Count/CountRequestBuilder.cs deleted file mode 100644 index 970fd265912..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.ScopedRoleMemberOf.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/scopedRoleMemberOf/$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/scopedRoleMemberOf/$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.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.Me.ScopedRoleMemberOf.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ScopedRoleMemberOf.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/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs deleted file mode 100644 index 0df4d9eae93..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ScopedRoleMemberOf.Item -{ - /// - /// Provides operations to manage the scopedRoleMemberOf property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ScopedRoleMembershipItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ScopedRoleMembershipItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/scopedRoleMemberOf/{scopedRoleMembership%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 ScopedRoleMembershipItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/scopedRoleMemberOf/{scopedRoleMembership%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property scopedRoleMemberOf 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get scopedRoleMemberOf 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property scopedRoleMemberOf 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.Models.ScopedRoleMembership body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ScopedRoleMembership body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property scopedRoleMemberOf 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 scopedRoleMemberOf 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 scopedRoleMemberOf 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.Models.ScopedRoleMembership body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ScopedRoleMembership body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder(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 ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get scopedRoleMemberOf from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ScopedRoleMembershipItemRequestBuilderGetQueryParameters - { - /// 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 ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration : 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 ScopedRoleMembershipItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs deleted file mode 100644 index 56518906369..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ScopedRoleMemberOf.Count; -using Microsoft.Graph.Me.ScopedRoleMemberOf.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ScopedRoleMemberOf -{ - /// - /// Provides operations to manage the scopedRoleMemberOf property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ScopedRoleMemberOfRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the scopedRoleMemberOf property of the microsoft.graph.user entity. - /// The unique identifier of scopedRoleMembership - /// A - public global::Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("scopedRoleMembership%2Did", position); - return new global::Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder(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 ScopedRoleMemberOfRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/scopedRoleMemberOf{?%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 ScopedRoleMemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/scopedRoleMemberOf{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get scopedRoleMemberOf 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to scopedRoleMemberOf 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.Models.ScopedRoleMembership body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ScopedRoleMembership body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get scopedRoleMemberOf 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 scopedRoleMemberOf 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.Models.ScopedRoleMembership body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ScopedRoleMembership body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.ScopedRoleMemberOf.ScopedRoleMemberOfRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.ScopedRoleMemberOf.ScopedRoleMemberOfRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get scopedRoleMemberOf from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ScopedRoleMemberOfRequestBuilderGetQueryParameters - { - /// 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 ScopedRoleMemberOfRequestBuilderGetRequestConfiguration : 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 ScopedRoleMemberOfRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs deleted file mode 100644 index b96b07cc76b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs +++ /dev/null @@ -1,91 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.SendMail -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SendMailPostRequestBody : 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 Message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.Message? Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.Message Message - { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } - } -#endif - /// The SaveToSentItems property - public bool? SaveToSentItems - { - get { return BackingStore?.Get("SaveToSentItems"); } - set { BackingStore?.Set("SaveToSentItems", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public SendMailPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - SaveToSentItems = false; - } - /// - /// 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.Me.SendMail.SendMailPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.SendMail.SendMailPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "Message", n => { Message = n.GetObjectValue(global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - { "SaveToSentItems", n => { SaveToSentItems = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("Message", Message); - writer.WriteBoolValue("SaveToSentItems", SaveToSentItems); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailRequestBuilder.cs deleted file mode 100644 index 66b2e6a1783..00000000000 --- a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.SendMail -{ - /// - /// Provides operations to call the sendMail method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SendMailRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SendMailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sendMail", 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 SendMailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sendMail", rawUrl) - { - } - /// - /// Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.SendMail.SendMailPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.SendMail.SendMailPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. - /// - /// 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.Me.SendMail.SendMailPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.SendMail.SendMailPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.SendMail.SendMailRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.SendMail.SendMailRequestBuilder(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 SendMailRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ServiceProvisioningErrors/Count/CountRequestBuilder.cs deleted file mode 100644 index 6a9794a1d3c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.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/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/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.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.Me.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.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/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs deleted file mode 100644 index 4738b4aa274..00000000000 --- a/src/Microsoft.Graph/Generated/Me/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.ServiceProvisioningErrors.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.ServiceProvisioningErrors -{ - /// - /// Builds and executes requests for operations under \me\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.Me.ServiceProvisioningErrors.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.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/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/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. Supports $filter (eq, not, for isResolved and serviceInstance). - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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. Supports $filter (eq, not, for isResolved and serviceInstance). - /// - /// 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.Me.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.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. Supports $filter (eq, not, for isResolved and serviceInstance). - /// - [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/Settings/Exchange/ExchangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs deleted file mode 100644 index cd39f9380fb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.Exchange -{ - /// - /// Provides operations to manage the exchange property of the microsoft.graph.userSettings entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExchangeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExchangeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/exchange{?%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 ExchangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/exchange{?%24expand,%24select}", rawUrl) - { - } - /// - /// The Exchange settings for mailbox discovery. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExchangeSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The Exchange settings for mailbox discovery. - /// - /// 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.Me.Settings.Exchange.ExchangeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The Exchange settings for mailbox discovery. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExchangeRequestBuilderGetQueryParameters - { - /// 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 ExchangeRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/ItemInsights/ItemInsightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/ItemInsights/ItemInsightsRequestBuilder.cs deleted file mode 100644 index 0107af1a720..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/ItemInsights/ItemInsightsRequestBuilder.cs +++ /dev/null @@ -1,230 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.ItemInsights -{ - /// - /// Provides operations to manage the itemInsights property of the microsoft.graph.userSettings entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ItemInsightsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ItemInsightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/itemInsights{?%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 ItemInsightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/itemInsights{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property itemInsights 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the user-customizable privacy settings for itemInsights and meeting hours insights. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserInsightsSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property itemInsights 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.Models.UserInsightsSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UserInsightsSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserInsightsSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property itemInsights 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 the user-customizable privacy settings for itemInsights and meeting hours insights. - /// - /// 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 itemInsights 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.Models.UserInsightsSettings body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserInsightsSettings body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.ItemInsights.ItemInsightsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.ItemInsights.ItemInsightsRequestBuilder(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 ItemInsightsRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get the user-customizable privacy settings for itemInsights and meeting hours insights. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ItemInsightsRequestBuilderGetQueryParameters - { - /// 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 ItemInsightsRequestBuilderGetRequestConfiguration : 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 ItemInsightsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs deleted file mode 100644 index bdab113a452..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs +++ /dev/null @@ -1,267 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.Exchange; -using Microsoft.Graph.Me.Settings.ItemInsights; -using Microsoft.Graph.Me.Settings.ShiftPreferences; -using Microsoft.Graph.Me.Settings.Storage; -using Microsoft.Graph.Me.Settings.Windows; -using Microsoft.Graph.Me.Settings.WorkHoursAndLocations; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings -{ - /// - /// Provides operations to manage the settings property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SettingsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the exchange property of the microsoft.graph.userSettings entity. - public global::Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder Exchange - { - get => new global::Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the itemInsights property of the microsoft.graph.userSettings entity. - public global::Microsoft.Graph.Me.Settings.ItemInsights.ItemInsightsRequestBuilder ItemInsights - { - get => new global::Microsoft.Graph.Me.Settings.ItemInsights.ItemInsightsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the shiftPreferences property of the microsoft.graph.userSettings entity. - public global::Microsoft.Graph.Me.Settings.ShiftPreferences.ShiftPreferencesRequestBuilder ShiftPreferences - { - get => new global::Microsoft.Graph.Me.Settings.ShiftPreferences.ShiftPreferencesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the storage property of the microsoft.graph.userSettings entity. - public global::Microsoft.Graph.Me.Settings.Storage.StorageRequestBuilder Storage - { - get => new global::Microsoft.Graph.Me.Settings.Storage.StorageRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the windows property of the microsoft.graph.userSettings entity. - public global::Microsoft.Graph.Me.Settings.Windows.WindowsRequestBuilder Windows - { - get => new global::Microsoft.Graph.Me.Settings.Windows.WindowsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WorkHoursAndLocations - { - get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder(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 SettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings{?%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 SettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property settings 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of the userSettings object. Users in the same organization can have different settings based on their preference or on the organization policies. To get the user current settings, see current user settings. - /// 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 PatchAsync(global::Microsoft.Graph.Models.UserSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UserSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property settings 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; - } - /// - /// Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. - /// - /// 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 properties of the userSettings object. Users in the same organization can have different settings based on their preference or on the organization policies. To get the user current settings, see current user settings. - /// - /// 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.Models.UserSettings body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserSettings body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.SettingsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.SettingsRequestBuilder(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 SettingsRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SettingsRequestBuilderGetQueryParameters - { - /// 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 SettingsRequestBuilderGetRequestConfiguration : 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 SettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs deleted file mode 100644 index eb6f1e06bc3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.ShiftPreferences -{ - /// - /// Provides operations to manage the shiftPreferences property of the microsoft.graph.userSettings entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ShiftPreferencesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ShiftPreferencesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/shiftPreferences{?%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 ShiftPreferencesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/shiftPreferences{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property shiftPreferences 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get shiftPreferences 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property shiftPreferences 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.Models.ShiftPreferences body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ShiftPreferences body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property shiftPreferences 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 shiftPreferences 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 shiftPreferences 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.Models.ShiftPreferences body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ShiftPreferences body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.ShiftPreferences.ShiftPreferencesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.ShiftPreferences.ShiftPreferencesRequestBuilder(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 ShiftPreferencesRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get shiftPreferences from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ShiftPreferencesRequestBuilderGetQueryParameters - { - /// 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 ShiftPreferencesRequestBuilderGetRequestConfiguration : 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 ShiftPreferencesRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/QuotaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/QuotaRequestBuilder.cs deleted file mode 100644 index e198c9a5b72..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/QuotaRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.Storage.Quota.Services; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.Storage.Quota -{ - /// - /// Provides operations to manage the quota property of the microsoft.graph.userStorage entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class QuotaRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the services property of the microsoft.graph.unifiedStorageQuota entity. - public global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.ServicesRequestBuilder Services - { - get => new global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.ServicesRequestBuilder(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 QuotaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/storage/quota{?%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 QuotaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/storage/quota{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property quota 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get quota 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UnifiedStorageQuota.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property quota 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.Models.UnifiedStorageQuota body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UnifiedStorageQuota body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UnifiedStorageQuota.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property quota 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 quota 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 quota 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.Models.UnifiedStorageQuota body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UnifiedStorageQuota body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.Storage.Quota.QuotaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Storage.Quota.QuotaRequestBuilder(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 QuotaRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get quota from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class QuotaRequestBuilderGetQueryParameters - { - /// 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 QuotaRequestBuilderGetRequestConfiguration : 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 QuotaRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/Services/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/Services/Count/CountRequestBuilder.cs deleted file mode 100644 index 65516588c7e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/Services/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Settings.Storage.Quota.Services.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/settings/storage/quota/services/$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/settings/storage/quota/services/$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.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.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.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/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.cs deleted file mode 100644 index f1fc38d383a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.Storage.Quota.Services.Item -{ - /// - /// Provides operations to manage the services property of the microsoft.graph.unifiedStorageQuota entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ServiceStorageQuotaBreakdownItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ServiceStorageQuotaBreakdownItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/storage/quota/services/{serviceStorageQuotaBreakdown%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 ServiceStorageQuotaBreakdownItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/storage/quota/services/{serviceStorageQuotaBreakdown%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property services 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get services 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceStorageQuotaBreakdown.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property services 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.Models.ServiceStorageQuotaBreakdown body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ServiceStorageQuotaBreakdown body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceStorageQuotaBreakdown.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property services 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 services 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 services 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.Models.ServiceStorageQuotaBreakdown body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ServiceStorageQuotaBreakdown body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder(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 ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get services from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters - { - /// 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 ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration : 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 ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/Services/ServicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/Services/ServicesRequestBuilder.cs deleted file mode 100644 index 58a78aaf231..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Storage/Quota/Services/ServicesRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count; -using Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.Storage.Quota.Services -{ - /// - /// Provides operations to manage the services property of the microsoft.graph.unifiedStorageQuota entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ServicesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the services property of the microsoft.graph.unifiedStorageQuota entity. - /// The unique identifier of serviceStorageQuotaBreakdown - /// A - public global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("serviceStorageQuotaBreakdown%2Did", position); - return new global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder(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 ServicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/storage/quota/services{?%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 ServicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/storage/quota/services{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get services 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceStorageQuotaBreakdownCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to services 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.Models.ServiceStorageQuotaBreakdown body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ServiceStorageQuotaBreakdown body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceStorageQuotaBreakdown.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get services 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 services 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.Models.ServiceStorageQuotaBreakdown body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ServiceStorageQuotaBreakdown body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.ServicesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Storage.Quota.Services.ServicesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get services from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ServicesRequestBuilderGetQueryParameters - { - /// 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 ServicesRequestBuilderGetRequestConfiguration : 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 ServicesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Storage/StorageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Storage/StorageRequestBuilder.cs deleted file mode 100644 index e5ea5286226..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Storage/StorageRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.Storage.Quota; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.Storage -{ - /// - /// Provides operations to manage the storage property of the microsoft.graph.userSettings entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class StorageRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the quota property of the microsoft.graph.userStorage entity. - public global::Microsoft.Graph.Me.Settings.Storage.Quota.QuotaRequestBuilder Quota - { - get => new global::Microsoft.Graph.Me.Settings.Storage.Quota.QuotaRequestBuilder(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 StorageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/storage{?%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 StorageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/storage{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property storage 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get storage 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserStorage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property storage 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.Models.UserStorage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UserStorage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserStorage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property storage 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 storage 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 storage 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.Models.UserStorage body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserStorage body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.Storage.StorageRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Storage.StorageRequestBuilder(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 StorageRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get storage from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class StorageRequestBuilderGetQueryParameters - { - /// 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 StorageRequestBuilderGetRequestConfiguration : 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 StorageRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Windows/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Windows/Count/CountRequestBuilder.cs deleted file mode 100644 index 335cb63a12f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Windows/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Settings.Windows.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/settings/windows/$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/settings/windows/$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.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.Me.Settings.Windows.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Windows.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/Settings/Windows/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/Instances/Count/CountRequestBuilder.cs deleted file mode 100644 index fec5ba35b2b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/Instances/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Settings.Windows.Item.Instances.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/settings/windows/{windowsSetting%2Did}/instances/$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/settings/windows/{windowsSetting%2Did}/instances/$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.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.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.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/Settings/Windows/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/Instances/InstancesRequestBuilder.cs deleted file mode 100644 index cfd0a2329a4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/Instances/InstancesRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count; -using Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.Windows.Item.Instances -{ - /// - /// Provides operations to manage the instances property of the microsoft.graph.windowsSetting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the instances property of the microsoft.graph.windowsSetting entity. - /// The unique identifier of windowsSettingInstance - /// A - public global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("windowsSettingInstance%2Did", position); - return new global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder(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 InstancesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/windows/{windowsSetting%2Did}/instances{?%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 InstancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/windows/{windowsSetting%2Did}/instances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of windowsSettingInstance objects and their properties for the signed-in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsSettingInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to instances 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.Models.WindowsSettingInstance body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.WindowsSettingInstance body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsSettingInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of windowsSettingInstance objects and their properties for the signed-in user. - /// - /// 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 instances 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.Models.WindowsSettingInstance body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WindowsSettingInstance body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.InstancesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.InstancesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of windowsSettingInstance objects and their properties for the signed-in user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstancesRequestBuilderGetQueryParameters - { - /// 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 InstancesRequestBuilderGetRequestConfiguration : 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 InstancesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/Instances/Item/WindowsSettingInstanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/Instances/Item/WindowsSettingInstanceItemRequestBuilder.cs deleted file mode 100644 index 3551145e5e3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/Instances/Item/WindowsSettingInstanceItemRequestBuilder.cs +++ /dev/null @@ -1,230 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.Windows.Item.Instances.Item -{ - /// - /// Provides operations to manage the instances property of the microsoft.graph.windowsSetting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsSettingInstanceItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public WindowsSettingInstanceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/windows/{windowsSetting%2Did}/instances/{windowsSettingInstance%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 WindowsSettingInstanceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/windows/{windowsSetting%2Did}/instances/{windowsSettingInstance%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property instances 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties and relationships of a windowsSettingInstance object by passing the Windows setting ID and Windows setting instance ID in the URL. This method gets a windowsSettingInstance for the signed-in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsSettingInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property instances 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.Models.WindowsSettingInstance body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.WindowsSettingInstance body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsSettingInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property instances 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; - } - /// - /// Read the properties and relationships of a windowsSettingInstance object by passing the Windows setting ID and Windows setting instance ID in the URL. This method gets a windowsSettingInstance for the signed-in user. - /// - /// 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 instances 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.Models.WindowsSettingInstance body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WindowsSettingInstance body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder(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 WindowsSettingInstanceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties and relationships of a windowsSettingInstance object by passing the Windows setting ID and Windows setting instance ID in the URL. This method gets a windowsSettingInstance for the signed-in user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsSettingInstanceItemRequestBuilderGetQueryParameters - { - /// 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 WindowsSettingInstanceItemRequestBuilderGetRequestConfiguration : 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 WindowsSettingInstanceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/WindowsSettingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/WindowsSettingItemRequestBuilder.cs deleted file mode 100644 index 9e366af9e99..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Windows/Item/WindowsSettingItemRequestBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.Windows.Item.Instances; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.Windows.Item -{ - /// - /// Provides operations to manage the windows property of the microsoft.graph.userSettings entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsSettingItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the instances property of the microsoft.graph.windowsSetting entity. - public global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.InstancesRequestBuilder Instances - { - get => new global::Microsoft.Graph.Me.Settings.Windows.Item.Instances.InstancesRequestBuilder(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 WindowsSettingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/windows/{windowsSetting%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 WindowsSettingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/windows/{windowsSetting%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property windows 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties and relationships of a windowsSetting object by passing the ID of the setting in the URL. This method gets the setting for the signed-in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property windows 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.Models.WindowsSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.WindowsSetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property windows 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; - } - /// - /// Read the properties and relationships of a windowsSetting object by passing the ID of the setting in the URL. This method gets the setting for the signed-in user. - /// - /// 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 windows 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.Models.WindowsSetting body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WindowsSetting body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder(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 WindowsSettingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties and relationships of a windowsSetting object by passing the ID of the setting in the URL. This method gets the setting for the signed-in user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsSettingItemRequestBuilderGetQueryParameters - { - /// 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 WindowsSettingItemRequestBuilderGetRequestConfiguration : 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 WindowsSettingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Windows/WindowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Windows/WindowsRequestBuilder.cs deleted file mode 100644 index 0d1d1b07060..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/Windows/WindowsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.Windows.Count; -using Microsoft.Graph.Me.Settings.Windows.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.Windows -{ - /// - /// Provides operations to manage the windows property of the microsoft.graph.userSettings entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the windows property of the microsoft.graph.userSettings entity. - /// The unique identifier of windowsSetting - /// A - public global::Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("windowsSetting%2Did", position); - return new global::Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder(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 WindowsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/windows{?%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 WindowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/windows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of windowsSetting objects and their properties for the signed in user. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to windows 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.Models.WindowsSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.WindowsSetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of windowsSetting objects and their properties for the signed in user. - /// - /// 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 windows 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.Models.WindowsSetting body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WindowsSetting body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.Windows.WindowsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.Windows.WindowsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of windowsSetting objects and their properties for the signed in user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WindowsRequestBuilderGetQueryParameters - { - /// 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 WindowsRequestBuilderGetRequestConfiguration : 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 WindowsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.cs deleted file mode 100644 index a81d5d18ae8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.Occurrences.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/settings/workHoursAndLocations/occurrences/$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/settings/workHoursAndLocations/occurrences/$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.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.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.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/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.cs deleted file mode 100644 index 446748f39b6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.Occurrences.Item -{ - /// - /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WorkPlanOccurrenceItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public WorkPlanOccurrenceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%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 WorkPlanOccurrenceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property occurrences 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Collection of work plan occurrences. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanOccurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property occurrences 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 PutAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanOccurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property occurrences 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; - } - /// - /// Collection of work plan occurrences. - /// - /// 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 occurrences 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 ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, 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.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder(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 WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Collection of work plan occurrences. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WorkPlanOccurrenceItemRequestBuilderGetQueryParameters - { - /// 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 WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration : 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 WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs deleted file mode 100644 index 05855bb3451..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count; -using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item; -using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.Occurrences -{ - /// - /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OccurrencesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the setCurrentLocation method. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder SetCurrentLocation - { - get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. - /// The unique identifier of workPlanOccurrence - /// A - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("workPlanOccurrence%2Did", position); - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder(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 OccurrencesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences{?%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 OccurrencesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Collection of work plan occurrences. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanOccurrenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new workPlanOccurrence object in a user's work plan. Only time-off occurrences can be created directly. The workLocationType must be set to timeOff. Other occurrences are autogenerated from recurrences. - /// 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 PostAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanOccurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Collection of work plan occurrences. - /// - /// 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 a new workPlanOccurrence object in a user's work plan. Only time-off occurrences can be created directly. The workLocationType must be set to timeOff. Other occurrences are autogenerated from recurrences. - /// - /// 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.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Collection of work plan occurrences. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OccurrencesRequestBuilderGetQueryParameters - { - /// 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 OccurrencesRequestBuilderGetRequestConfiguration : 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 OccurrencesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.cs deleted file mode 100644 index a9ec2e98a56..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.cs +++ /dev/null @@ -1,98 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SetCurrentLocationPostRequestBody : 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 placeId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } -#nullable restore -#else - public string PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } -#endif - /// The updateScope property - public global::Microsoft.Graph.Models.WorkLocationUpdateScope? UpdateScope - { - get { return BackingStore?.Get("updateScope"); } - set { BackingStore?.Set("updateScope", value); } - } - /// The workLocationType property - public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType - { - get { return BackingStore?.Get("workLocationType"); } - set { BackingStore?.Set("workLocationType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public SetCurrentLocationPostRequestBody() - { - 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.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "placeId", n => { PlaceId = n.GetStringValue(); } }, - { "updateScope", n => { UpdateScope = n.GetEnumValue(); } }, - { "workLocationType", n => { WorkLocationType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("placeId", PlaceId); - writer.WriteEnumValue("updateScope", UpdateScope); - writer.WriteEnumValue("workLocationType", WorkLocationType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.cs deleted file mode 100644 index 26f5afa4856..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation -{ - /// - /// Provides operations to call the setCurrentLocation method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SetCurrentLocationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SetCurrentLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences/setCurrentLocation", 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 SetCurrentLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences/setCurrentLocation", rawUrl) - { - } - /// - /// Update a user's work location for the current day or current active segment. This action quickly updates the user's work location without modifying individual occurrences. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update a user's work location for the current day or current active segment. This action quickly updates the user's work location without modifying individual occurrences. - /// - /// 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.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder(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 SetCurrentLocationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs deleted file mode 100644 index 0186610899c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(); - } - /// - /// 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.Models.WorkPlanOccurrence.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs deleted file mode 100644 index f6225cae73f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ /dev/null @@ -1,193 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime -{ - /// - /// Provides operations to call the occurrencesView method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder : 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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string endDateTime = "", string startDateTime = "") : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - if (!string.IsNullOrWhiteSpace(endDateTime)) PathParameters.Add("endDateTime", endDateTime); - if (!string.IsNullOrWhiteSpace(startDateTime)) 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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get work plan occurrences from a user's work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get work plan occurrences from a user's work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get work plan occurrences from a user's work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. - /// - /// 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.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get work plan occurrences from a user's work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters - { - /// 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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.cs deleted file mode 100644 index 83c49f27393..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime -{ - [Obsolete("This class is obsolete. Use OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse, 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.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.cs deleted file mode 100644 index bcd37f9b9a1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.Recurrences.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/settings/workHoursAndLocations/recurrences/$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/settings/workHoursAndLocations/recurrences/$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.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.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.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/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.cs deleted file mode 100644 index b0b214ade15..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.Recurrences.Item -{ - /// - /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WorkPlanRecurrenceItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public WorkPlanRecurrenceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%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 WorkPlanRecurrenceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property recurrences 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Collection of recurring work plans defined by the user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanRecurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property recurrences 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 PutAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanRecurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property recurrences 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; - } - /// - /// Collection of recurring work plans defined by the user. - /// - /// 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 recurrences 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 ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, 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.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder(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 WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Collection of recurring work plans defined by the user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WorkPlanRecurrenceItemRequestBuilderGetQueryParameters - { - /// 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 WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration : 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 WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs deleted file mode 100644 index da74b11b67a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count; -using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations.Recurrences -{ - /// - /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RecurrencesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. - /// The unique identifier of workPlanRecurrence - /// A - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("workPlanRecurrence%2Did", position); - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder(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 RecurrencesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/recurrences{?%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 RecurrencesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/recurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the recurrences from a user's work plan via the recurrences navigation property. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanRecurrenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new workPlanRecurrence object in a user's work plan. - /// 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 PostAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanRecurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the recurrences from a user's work plan via the recurrences navigation property. - /// - /// 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 a new workPlanRecurrence object in a user's work plan. - /// - /// 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.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the recurrences from a user's work plan via the recurrences navigation property. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RecurrencesRequestBuilderGetQueryParameters - { - /// 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 RecurrencesRequestBuilderGetRequestConfiguration : 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 RecurrencesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs deleted file mode 100644 index 6fe70ba03f9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs +++ /dev/null @@ -1,207 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences; -using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime; -using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Settings.WorkHoursAndLocations -{ - /// - /// Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WorkHoursAndLocationsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder Occurrences - { - get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder Recurrences - { - get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder(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 WorkHoursAndLocationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations{?%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 WorkHoursAndLocationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the properties and relationships of a user's workHoursAndLocationsSetting. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Provides operations to call the occurrencesView method. - /// - /// A - /// Usage: endDateTime='{endDateTime}' - /// Usage: startDateTime='{startDateTime}' - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder OccurrencesViewWithStartDateTimeWithEndDateTime(string endDateTime, string startDateTime) - { - if(string.IsNullOrEmpty(endDateTime)) throw new ArgumentNullException(nameof(endDateTime)); - if(string.IsNullOrEmpty(startDateTime)) throw new ArgumentNullException(nameof(startDateTime)); - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); - } - /// - /// Update the properties of a user's workHoursAndLocationsSetting. - /// 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 PatchAsync(global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the properties and relationships of a user's workHoursAndLocationsSetting. - /// - /// 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 properties of a user's workHoursAndLocationsSetting. - /// - /// 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.Models.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the properties and relationships of a user's workHoursAndLocationsSetting. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WorkHoursAndLocationsRequestBuilderGetQueryParameters - { - /// 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 WorkHoursAndLocationsRequestBuilderGetRequestConfiguration : 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 WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Solutions/SolutionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Solutions/SolutionsRequestBuilder.cs deleted file mode 100644 index ca5847e9435..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Solutions/SolutionsRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Solutions.WorkingTimeSchedule; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Solutions -{ - /// - /// Provides operations to manage the solutions property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SolutionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the workingTimeSchedule property of the microsoft.graph.userSolutionRoot entity. - public global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.WorkingTimeScheduleRequestBuilder WorkingTimeSchedule - { - get => new global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.WorkingTimeScheduleRequestBuilder(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 SolutionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/solutions{?%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 SolutionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/solutions{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property solutions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserSolutionRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property solutions 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.Models.UserSolutionRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UserSolutionRoot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserSolutionRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property solutions 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; - } - /// - /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable - /// - /// 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 solutions 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.Models.UserSolutionRoot body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserSolutionRoot body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Solutions.SolutionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Solutions.SolutionsRequestBuilder(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 SolutionsRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SolutionsRequestBuilderGetQueryParameters - { - /// 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 SolutionsRequestBuilderGetRequestConfiguration : 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 SolutionsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs deleted file mode 100644 index 3b1dcb161ab..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Solutions.WorkingTimeSchedule.EndWorkingTime -{ - /// - /// Provides operations to call the endWorkingTime method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EndWorkingTimeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public EndWorkingTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/solutions/workingTimeSchedule/endWorkingTime", 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 EndWorkingTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/solutions/workingTimeSchedule/endWorkingTime", rawUrl) - { - } - /// - /// Trigger the policies associated with the end of working hours for a specific user. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Trigger the policies associated with the end of working hours for a specific user. - /// - /// 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.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.EndWorkingTimeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.EndWorkingTimeRequestBuilder(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 EndWorkingTimeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs deleted file mode 100644 index 91369f186f1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Solutions.WorkingTimeSchedule.StartWorkingTime -{ - /// - /// Provides operations to call the startWorkingTime method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class StartWorkingTimeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public StartWorkingTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/solutions/workingTimeSchedule/startWorkingTime", 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 StartWorkingTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/solutions/workingTimeSchedule/startWorkingTime", rawUrl) - { - } - /// - /// Trigger the policies associated with the start of working hours for a specific user. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Trigger the policies associated with the start of working hours for a specific user. - /// - /// 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.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.StartWorkingTimeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.StartWorkingTimeRequestBuilder(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 StartWorkingTimeRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs deleted file mode 100644 index 5c4bc4049bb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime; -using Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Solutions.WorkingTimeSchedule -{ - /// - /// Provides operations to manage the workingTimeSchedule property of the microsoft.graph.userSolutionRoot entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WorkingTimeScheduleRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the endWorkingTime method. - public global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.EndWorkingTimeRequestBuilder EndWorkingTime - { - get => new global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.EndWorkingTimeRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the startWorkingTime method. - public global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.StartWorkingTimeRequestBuilder StartWorkingTime - { - get => new global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.StartWorkingTimeRequestBuilder(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 WorkingTimeScheduleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/solutions/workingTimeSchedule{?%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 WorkingTimeScheduleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/solutions/workingTimeSchedule{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property workingTimeSchedule 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The working time schedule entity associated with the solution. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkingTimeSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property workingTimeSchedule 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.Models.WorkingTimeSchedule body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.WorkingTimeSchedule body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkingTimeSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property workingTimeSchedule 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; - } - /// - /// The working time schedule entity associated with the solution. - /// - /// 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 workingTimeSchedule 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.Models.WorkingTimeSchedule body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WorkingTimeSchedule body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.WorkingTimeScheduleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.WorkingTimeScheduleRequestBuilder(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 WorkingTimeScheduleRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The working time schedule entity associated with the solution. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WorkingTimeScheduleRequestBuilderGetQueryParameters - { - /// 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 WorkingTimeScheduleRequestBuilderGetRequestConfiguration : 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 WorkingTimeScheduleRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/SponsorOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/SponsorOf/Count/CountRequestBuilder.cs deleted file mode 100644 index 06626e3b44f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/SponsorOf/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.SponsorOf.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/sponsorOf/$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/sponsorOf/$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.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.Me.SponsorOf.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.SponsorOf.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/SponsorOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/SponsorOf/Item/DirectoryObjectItemRequestBuilder.cs deleted file mode 100644 index 56acf4ee0fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/SponsorOf/Item/DirectoryObjectItemRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.SponsorOf.Item -{ - /// - /// Provides operations to manage the sponsorOf property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsorOf/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsorOf/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Directory objects that this user sponsors, such as guest users, agent users, agent blueprints, agent blueprint principals, and agent identities. If the user is a member of a group that's a sponsor, the objects sponsored by that group are also included. Read-only. Nullable. Supports $filter, $count, $select, $expand, $top, and $skip. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Directory objects that this user sponsors, such as guest users, agent users, agent blueprints, agent blueprint principals, and agent identities. If the user is a member of a group that's a sponsor, the objects sponsored by that group are also included. Read-only. Nullable. Supports $filter, $count, $select, $expand, $top, and $skip. - /// - /// 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.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Directory objects that this user sponsors, such as guest users, agent users, agent blueprints, agent blueprint principals, and agent identities. If the user is a member of a group that's a sponsor, the objects sponsored by that group are also included. Read-only. Nullable. Supports $filter, $count, $select, $expand, $top, and $skip. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/SponsorOf/SponsorOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/SponsorOf/SponsorOfRequestBuilder.cs deleted file mode 100644 index 43d2a34bac3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/SponsorOf/SponsorOfRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.SponsorOf.Count; -using Microsoft.Graph.Me.SponsorOf.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.SponsorOf -{ - /// - /// Provides operations to manage the sponsorOf property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SponsorOfRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the sponsorOf property of the microsoft.graph.user entity. - /// The unique identifier of directoryObject - /// A - public global::Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("directoryObject%2Did", position); - return new global::Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder(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 SponsorOfRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsorOf{?%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 SponsorOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsorOf{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Directory objects that this user sponsors, such as guest users, agent users, agent blueprints, agent blueprint principals, and agent identities. If the user is a member of a group that's a sponsor, the objects sponsored by that group are also included. Read-only. Nullable. Supports $filter, $count, $select, $expand, $top, and $skip. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Directory objects that this user sponsors, such as guest users, agent users, agent blueprints, agent blueprint principals, and agent identities. If the user is a member of a group that's a sponsor, the objects sponsored by that group are also included. Read-only. Nullable. Supports $filter, $count, $select, $expand, $top, and $skip. - /// - /// 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.Me.SponsorOf.SponsorOfRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.SponsorOf.SponsorOfRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Directory objects that this user sponsors, such as guest users, agent users, agent blueprints, agent blueprint principals, and agent identities. If the user is a member of a group that's a sponsor, the objects sponsored by that group are also included. Read-only. Nullable. Supports $filter, $count, $select, $expand, $top, and $skip. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SponsorOfRequestBuilderGetQueryParameters - { - /// 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 SponsorOfRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Count/CountRequestBuilder.cs deleted file mode 100644 index fb37cd0e5ed..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Sponsors.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/sponsors/$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/sponsors/$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.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.Me.Sponsors.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Sponsors.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/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs deleted file mode 100644 index 00951b0b141..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs +++ /dev/null @@ -1,41 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Sponsors.Item.Ref; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System; -namespace Microsoft.Graph.Me.Sponsors.Item -{ - /// - /// Builds and executes requests for operations under \me\sponsors\{directoryObject-id} - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the collection of user entities. - public global::Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder Ref - { - get => new global::Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder(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 DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}", 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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}", rawUrl) - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs deleted file mode 100644 index b353cfcfc5a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Sponsors.Item.Ref -{ - /// - /// Provides operations to manage the collection of user entities. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RefRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}/$ref", 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 RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}/$ref", rawUrl) - { - } - /// - /// Delete ref of navigation property sponsors 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete ref of navigation property sponsors 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; - } - /// - /// 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.Me.Sponsors.Item.Ref.RefRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder(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 RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs deleted file mode 100644 index 8f8648059f6..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs +++ /dev/null @@ -1,264 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Sponsors.Ref -{ - /// - /// Provides operations to manage the collection of user entities. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RefRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%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 RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Delete ref of navigation property sponsors 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property ref to sponsors for me - /// - /// 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.Models.ReferenceCreate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ReferenceCreate body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete ref of navigation property sponsors 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, "{+baseurl}/me/sponsors/$ref?@id={%40id}", PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property ref to sponsors 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.Models.ReferenceCreate body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ReferenceCreate body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Delete ref of navigation property sponsors for me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RefRequestBuilderDeleteQueryParameters - { - /// The delete Uri -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%40id")] - public string? Id { get; set; } -#nullable restore -#else - [QueryParameter("%40id")] - public string Id { 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 RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RefRequestBuilderGetQueryParameters - { - /// 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 - /// 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 - /// 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 RefRequestBuilderGetRequestConfiguration : 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 RefRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/SponsorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/SponsorsRequestBuilder.cs deleted file mode 100644 index ad3c32f4e91..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/SponsorsRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Sponsors.Count; -using Microsoft.Graph.Me.Sponsors.Item; -using Microsoft.Graph.Me.Sponsors.Ref; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Sponsors -{ - /// - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SponsorsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the collection of user entities. - public global::Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder Ref - { - get => new global::Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder(PathParameters, RequestAdapter); - } - /// Gets an item from the Microsoft.Graph.me.sponsors.item collection - /// The unique identifier of directoryObject - /// A - public global::Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("directoryObject%2Did", position); - return new global::Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder(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 SponsorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors{?%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 SponsorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Sponsors.SponsorsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Sponsors.SponsorsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SponsorsRequestBuilderGetQueryParameters - { - /// 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 SponsorsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs deleted file mode 100644 index f29125bc6fd..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs +++ /dev/null @@ -1,239 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count; -using Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Teamwork.AssociatedTeams -{ - /// - /// Provides operations to manage the associatedTeams property of the microsoft.graph.userTeamwork entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssociatedTeamsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the associatedTeams property of the microsoft.graph.userTeamwork entity. - /// The unique identifier of associatedTeamInfo - /// A - public global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("associatedTeamInfo%2Did", position); - return new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder(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 AssociatedTeamsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/associatedTeams{?%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 AssociatedTeamsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/associatedTeams{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways: - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AssociatedTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to associatedTeams 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.Models.AssociatedTeamInfo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.AssociatedTeamInfo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways: - /// - /// 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 associatedTeams 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.Models.AssociatedTeamInfo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AssociatedTeamInfo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways: - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssociatedTeamsRequestBuilderGetQueryParameters - { - /// 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 AssociatedTeamsRequestBuilderGetRequestConfiguration : 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 AssociatedTeamsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs deleted file mode 100644 index 1bb76d23785..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Teamwork.AssociatedTeams.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/teamwork/associatedTeams/$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/teamwork/associatedTeams/$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.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.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.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/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs deleted file mode 100644 index 89c289fa63c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Teamwork.AssociatedTeams.Item -{ - /// - /// Provides operations to manage the associatedTeams property of the microsoft.graph.userTeamwork entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssociatedTeamInfoItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the team property of the microsoft.graph.teamInfo entity. - public global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder Team - { - get => new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder(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 AssociatedTeamInfoItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/associatedTeams/{associatedTeamInfo%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 AssociatedTeamInfoItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/associatedTeams/{associatedTeamInfo%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property associatedTeams 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The list of associatedTeamInfo objects that a user is associated with. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property associatedTeams 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.Models.AssociatedTeamInfo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.AssociatedTeamInfo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property associatedTeams 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; - } - /// - /// The list of associatedTeamInfo objects that a user is associated with. - /// - /// 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 associatedTeams 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.Models.AssociatedTeamInfo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AssociatedTeamInfo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder(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 AssociatedTeamInfoItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The list of associatedTeamInfo objects that a user is associated with. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AssociatedTeamInfoItemRequestBuilderGetQueryParameters - { - /// 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 AssociatedTeamInfoItemRequestBuilderGetRequestConfiguration : 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 AssociatedTeamInfoItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs deleted file mode 100644 index 20570142d3a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Teamwork.AssociatedTeams.Item.Team -{ - /// - /// Provides operations to manage the team property of the microsoft.graph.teamInfo entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/associatedTeams/{associatedTeamInfo%2Did}/team{?%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 TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/associatedTeams/{associatedTeamInfo%2Did}/team{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get team 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get team 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.Me.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get team from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamRequestBuilderGetQueryParameters - { - /// 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 TeamRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs deleted file mode 100644 index d2676708db2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs +++ /dev/null @@ -1,117 +0,0 @@ -// -#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.Me.Teamwork.DeleteTargetedMessage -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeleteTargetedMessagePostRequestBody : 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 channelId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ChannelId - { - get { return BackingStore?.Get("channelId"); } - set { BackingStore?.Set("channelId", value); } - } -#nullable restore -#else - public string ChannelId - { - get { return BackingStore?.Get("channelId"); } - set { BackingStore?.Set("channelId", value); } - } -#endif - /// The messageId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? MessageId - { - get { return BackingStore?.Get("messageId"); } - set { BackingStore?.Set("messageId", value); } - } -#nullable restore -#else - public string MessageId - { - get { return BackingStore?.Get("messageId"); } - set { BackingStore?.Set("messageId", value); } - } -#endif - /// The teamId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? TeamId - { - get { return BackingStore?.Get("teamId"); } - set { BackingStore?.Set("teamId", value); } - } -#nullable restore -#else - public string TeamId - { - get { return BackingStore?.Get("teamId"); } - set { BackingStore?.Set("teamId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public DeleteTargetedMessagePostRequestBody() - { - 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.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "channelId", n => { ChannelId = n.GetStringValue(); } }, - { "messageId", n => { MessageId = n.GetStringValue(); } }, - { "teamId", n => { TeamId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("channelId", ChannelId); - writer.WriteStringValue("messageId", MessageId); - writer.WriteStringValue("teamId", TeamId); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs deleted file mode 100644 index 768d85ee6b0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Teamwork.DeleteTargetedMessage -{ - /// - /// Provides operations to call the deleteTargetedMessage method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeleteTargetedMessageRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeleteTargetedMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/deleteTargetedMessage", 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 DeleteTargetedMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/deleteTargetedMessage", rawUrl) - { - } - /// - /// Delete a specific targeted message from a channel context. Teams administrators can use this API to remove targeted messages by providing the message ID, team ID, and channel ID. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a specific targeted message from a channel context. Teams administrators can use this API to remove targeted messages by providing the message ID, team ID, and channel ID. - /// - /// 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.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(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 DeleteTargetedMessageRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs deleted file mode 100644 index e7aa708dcd0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRetainedTargetedMessagesGetResponse : global::Microsoft.Graph.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.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse(); - } - /// - /// 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.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs deleted file mode 100644 index 5e883d2566a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Teamwork.GetAllRetainedTargetedMessages -{ - /// - /// Provides operations to call the getAllRetainedTargetedMessages method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRetainedTargetedMessagesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllRetainedTargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllRetainedTargetedMessages(){?%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 GetAllRetainedTargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllRetainedTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get all retained targeted messages sent to a specific user in group chats and channels. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllRetainedTargetedMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllRetainedTargetedMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all retained targeted messages sent to a specific user in group chats and channels. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllRetainedTargetedMessagesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all retained targeted messages sent to a specific user in group chats and channels. - /// - /// 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.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all retained targeted messages sent to a specific user in group chats and channels. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters - { - /// 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 GetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs deleted file mode 100644 index a305e3064b8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Teamwork.GetAllRetainedTargetedMessages -{ - [Obsolete("This class is obsolete. Use GetAllRetainedTargetedMessagesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllRetainedTargetedMessagesResponse : global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse, 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.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs deleted file mode 100644 index 5fff3f67394..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllTargetedMessagesGetResponse : global::Microsoft.Graph.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.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse(); - } - /// - /// 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.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs deleted file mode 100644 index 79d125b8f40..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Teamwork.GetAllTargetedMessages -{ - /// - /// Provides operations to call the getAllTargetedMessages method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllTargetedMessagesRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllTargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllTargetedMessages(){?%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 GetAllTargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get all targeted messages sent to a specific user in group chats and channels. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllTargetedMessagesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllTargetedMessagesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all targeted messages sent to a specific user in group chats and channels. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllTargetedMessagesGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get all targeted messages sent to a specific user in group chats and channels. - /// - /// 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.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get all targeted messages sent to a specific user in group chats and channels. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllTargetedMessagesRequestBuilderGetQueryParameters - { - /// 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 GetAllTargetedMessagesRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs deleted file mode 100644 index 0c5304f6f0d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Teamwork.GetAllTargetedMessages -{ - [Obsolete("This class is obsolete. Use GetAllTargetedMessagesGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllTargetedMessagesResponse : global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse, 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.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Count/CountRequestBuilder.cs deleted file mode 100644 index 6c90e4b0e19..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Teamwork.InstalledApps.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/teamwork/installedApps/$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/teamwork/installedApps/$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.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.Me.Teamwork.InstalledApps.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.InstalledApps.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/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs deleted file mode 100644 index 6192e6ca025..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Teamwork.InstalledApps.Count; -using Microsoft.Graph.Me.Teamwork.InstalledApps.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Teamwork.InstalledApps -{ - /// - /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstalledAppsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. - /// The unique identifier of userScopeTeamsAppInstallation - /// A - public global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("userScopeTeamsAppInstallation%2Did", position); - return new global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder(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 InstalledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps{?%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 InstalledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The apps installed in the personal scope of this user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserScopeTeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to installedApps 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.Models.UserScopeTeamsAppInstallation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.UserScopeTeamsAppInstallation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The apps installed in the personal scope of this user. - /// - /// 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 installedApps 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.Models.UserScopeTeamsAppInstallation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.UserScopeTeamsAppInstallation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The apps installed in the personal scope of this user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InstalledAppsRequestBuilderGetQueryParameters - { - /// 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 InstalledAppsRequestBuilderGetRequestConfiguration : 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 InstalledAppsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs deleted file mode 100644 index 8fd301119fc..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Teamwork.InstalledApps.Item.Chat -{ - /// - /// Provides operations to manage the chat property of the microsoft.graph.userScopeTeamsAppInstallation entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ChatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps/{userScopeTeamsAppInstallation%2Did}/chat{?%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 ChatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps/{userScopeTeamsAppInstallation%2Did}/chat{?%24expand,%24select}", rawUrl) - { - } - /// - /// The chat between the user and Teams app. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The chat between the user and Teams app. - /// - /// 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.Me.Teamwork.InstalledApps.Item.Chat.ChatRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.ChatRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The chat between the user and Teams app. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChatRequestBuilderGetQueryParameters - { - /// 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 ChatRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs deleted file mode 100644 index 79a5964701c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Teamwork.InstalledApps.Item.TeamsApp -{ - /// - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps/{userScopeTeamsAppInstallation%2Did}/teamsApp{?%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 TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps/{userScopeTeamsAppInstallation%2Did}/teamsApp{?%24expand,%24select}", rawUrl) - { - } - /// - /// The app that is installed. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The app that is installed. - /// - /// 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.Me.Teamwork.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The app that is installed. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppRequestBuilderGetQueryParameters - { - /// 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 TeamsAppRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs deleted file mode 100644 index a156d9c98ba..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition -{ - /// - /// Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppDefinitionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TeamsAppDefinitionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps/{userScopeTeamsAppInstallation%2Did}/teamsAppDefinition{?%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 TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps/{userScopeTeamsAppInstallation%2Did}/teamsAppDefinition{?%24expand,%24select}", rawUrl) - { - } - /// - /// The details of this version of the app. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The details of this version of the app. - /// - /// 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.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The details of this version of the app. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamsAppDefinitionRequestBuilderGetQueryParameters - { - /// 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 TeamsAppDefinitionRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs deleted file mode 100644 index da0af3dbbb3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs +++ /dev/null @@ -1,247 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat; -using Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp; -using Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Teamwork.InstalledApps.Item -{ - /// - /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserScopeTeamsAppInstallationItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the chat property of the microsoft.graph.userScopeTeamsAppInstallation entity. - public global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.ChatRequestBuilder Chat - { - get => new global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.ChatRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. - public global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder TeamsApp - { - get => new global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. - public global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder TeamsAppDefinition - { - get => new global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder(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 UserScopeTeamsAppInstallationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps/{userScopeTeamsAppInstallation%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 UserScopeTeamsAppInstallationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/installedApps/{userScopeTeamsAppInstallation%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property installedApps 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The apps installed in the personal scope of this user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property installedApps 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.Models.UserScopeTeamsAppInstallation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UserScopeTeamsAppInstallation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property installedApps 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; - } - /// - /// The apps installed in the personal scope of this user. - /// - /// 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 installedApps 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.Models.UserScopeTeamsAppInstallation body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserScopeTeamsAppInstallation body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder(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 UserScopeTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The apps installed in the personal scope of this user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters - { - /// 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 UserScopeTeamsAppInstallationItemRequestBuilderGetRequestConfiguration : 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 UserScopeTeamsAppInstallationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs deleted file mode 100644 index 206d5ebfea0..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ /dev/null @@ -1,180 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Teamwork.SendActivityNotification -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SendActivityNotificationPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// The activityType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ActivityType - { - get { return BackingStore?.Get("activityType"); } - set { BackingStore?.Set("activityType", value); } - } -#nullable restore -#else - public string ActivityType - { - get { return BackingStore?.Get("activityType"); } - set { BackingStore?.Set("activityType", value); } - } -#endif - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The chainId property - public long? ChainId - { - get { return BackingStore?.Get("chainId"); } - set { BackingStore?.Set("chainId", value); } - } - /// The iconId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? IconId - { - get { return BackingStore?.Get("iconId"); } - set { BackingStore?.Set("iconId", value); } - } -#nullable restore -#else - public string IconId - { - get { return BackingStore?.Get("iconId"); } - set { BackingStore?.Set("iconId", value); } - } -#endif - /// The previewText property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.ItemBody? PreviewText - { - get { return BackingStore?.Get("previewText"); } - set { BackingStore?.Set("previewText", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.ItemBody PreviewText - { - get { return BackingStore?.Get("previewText"); } - set { BackingStore?.Set("previewText", value); } - } -#endif - /// The teamsAppId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? TeamsAppId - { - get { return BackingStore?.Get("teamsAppId"); } - set { BackingStore?.Set("teamsAppId", value); } - } -#nullable restore -#else - public string TeamsAppId - { - get { return BackingStore?.Get("teamsAppId"); } - set { BackingStore?.Set("teamsAppId", value); } - } -#endif - /// The templateParameters property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? TemplateParameters - { - get { return BackingStore?.Get?>("templateParameters"); } - set { BackingStore?.Set("templateParameters", value); } - } -#nullable restore -#else - public List TemplateParameters - { - get { return BackingStore?.Get>("templateParameters"); } - set { BackingStore?.Set("templateParameters", value); } - } -#endif - /// The topic property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.TeamworkActivityTopic? Topic - { - get { return BackingStore?.Get("topic"); } - set { BackingStore?.Set("topic", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.TeamworkActivityTopic Topic - { - get { return BackingStore?.Get("topic"); } - set { BackingStore?.Set("topic", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SendActivityNotificationPostRequestBody() - { - 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.Me.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "activityType", n => { ActivityType = n.GetStringValue(); } }, - { "chainId", n => { ChainId = n.GetLongValue(); } }, - { "iconId", n => { IconId = n.GetStringValue(); } }, - { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, - { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, - { "templateParameters", n => { TemplateParameters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.KeyValuePair.CreateFromDiscriminatorValue)?.AsList(); } }, - { "topic", n => { Topic = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkActivityTopic.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("activityType", ActivityType); - writer.WriteLongValue("chainId", ChainId); - writer.WriteStringValue("iconId", IconId); - writer.WriteObjectValue("previewText", PreviewText); - writer.WriteStringValue("teamsAppId", TeamsAppId); - writer.WriteCollectionOfObjectValues("templateParameters", TemplateParameters); - writer.WriteObjectValue("topic", Topic); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs deleted file mode 100644 index 00b2ea0063f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Teamwork.SendActivityNotification -{ - /// - /// Provides operations to call the sendActivityNotification method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SendActivityNotificationRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SendActivityNotificationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/sendActivityNotification", 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 SendActivityNotificationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/sendActivityNotification", rawUrl) - { - } - /// - /// Send an activity feed notification to a user. For more information, see sending Teams activity notifications. - /// Find more info here - /// - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Send an activity feed notification to a user. For more information, see sending Teams activity notifications. - /// - /// 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.Me.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationRequestBuilder(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 SendActivityNotificationRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs deleted file mode 100644 index 03c78666243..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Teamwork.AssociatedTeams; -using Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage; -using Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages; -using Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages; -using Microsoft.Graph.Me.Teamwork.InstalledApps; -using Microsoft.Graph.Me.Teamwork.SendActivityNotification; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Teamwork -{ - /// - /// Provides operations to manage the teamwork property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamworkRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the associatedTeams property of the microsoft.graph.userTeamwork entity. - public global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder AssociatedTeams - { - get => new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the deleteTargetedMessage method. - public global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder DeleteTargetedMessage - { - get => new global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllRetainedTargetedMessages method. - public global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder GetAllRetainedTargetedMessages - { - get => new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the getAllTargetedMessages method. - public global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder GetAllTargetedMessages - { - get => new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. - public global::Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder InstalledApps - { - get => new global::Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the sendActivityNotification method. - public global::Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationRequestBuilder SendActivityNotification - { - get => new global::Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationRequestBuilder(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 TeamworkRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork{?%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 TeamworkRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property teamwork 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// A container for Microsoft Teams features available for the user. Read-only. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property teamwork 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.Models.UserTeamwork body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.UserTeamwork body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property teamwork 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; - } - /// - /// A container for Microsoft Teams features available for the user. Read-only. Nullable. - /// - /// 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 teamwork 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.Models.UserTeamwork body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserTeamwork body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Teamwork.TeamworkRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Teamwork.TeamworkRequestBuilder(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 TeamworkRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// A container for Microsoft Teams features available for the user. Read-only. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TeamworkRequestBuilderGetQueryParameters - { - /// 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 TeamworkRequestBuilderGetRequestConfiguration : 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 TeamworkRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Count/CountRequestBuilder.cs deleted file mode 100644 index 74956df4205..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.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/todo/lists/$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/todo/lists/$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.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.Me.Todo.Lists.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.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/Todo/Lists/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaGetResponse.cs deleted file mode 100644 index 144628fef4c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Todo.Lists.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Todo.Lists.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Todo.Lists.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.TodoTaskList.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 0001ee90f6a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of todoTaskList resources that have been added, deleted, or removed in Microsoft To Do. A delta function call for todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTaskList without having to fetch all the todoTaskList from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Todo.Lists.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of todoTaskList resources that have been added, deleted, or removed in Microsoft To Do. A delta function call for todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTaskList without having to fetch all the todoTaskList from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Todo.Lists.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of todoTaskList resources that have been added, deleted, or removed in Microsoft To Do. A delta function call for todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTaskList without having to fetch all the todoTaskList from the server every time. - /// - /// 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.Me.Todo.Lists.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of todoTaskList resources that have been added, deleted, or removed in Microsoft To Do. A delta function call for todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTaskList without having to fetch all the todoTaskList from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaResponse.cs deleted file mode 100644 index 619aa7aa95c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Todo.Lists.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Todo.Lists.Delta.DeltaGetResponse, 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.Me.Todo.Lists.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Todo.Lists.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 98148417cf2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Extensions.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/todo/lists/{todoTaskList%2Did}/extensions/$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/todo/lists/{todoTaskList%2Did}/extensions/$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.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.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.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/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index a68d1833d1c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count; -using Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.todoTaskList entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.todoTaskList entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the task list. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the task list. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the task list. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 3adbad72d8b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.todoTaskList entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the task list. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the task list. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the task list. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs deleted file mode 100644 index b58ba4eb3a9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.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/todo/lists/{todoTaskList%2Did}/tasks/$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/todo/lists/{todoTaskList%2Did}/tasks/$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.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.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.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/Todo/Lists/Item/Tasks/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaGetResponse.cs deleted file mode 100644 index cfde3f82aa9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.Todo.Lists.Item.Tasks.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaGetResponse(); - } - /// - /// 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.Models.TodoTask.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs deleted file mode 100644 index 08b8f39fa69..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Delta -{ - /// - /// Provides operations to call the delta method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a set of todoTask resources that have been added, deleted, or updated in a specified todoTaskList. A delta function call for todoTask resources in a todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the todoTask in that todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTask resources without having to fetch the entire set from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of todoTask resources that have been added, deleted, or updated in a specified todoTaskList. A delta function call for todoTask resources in a todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the todoTask in that todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTask resources without having to fetch the entire set from the server every time. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a set of todoTask resources that have been added, deleted, or updated in a specified todoTaskList. A delta function call for todoTask resources in a todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the todoTask in that todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTask resources without having to fetch the entire set from the server every time. - /// - /// 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.Me.Todo.Lists.Item.Tasks.Delta.DeltaRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a set of todoTask resources that have been added, deleted, or updated in a specified todoTaskList. A delta function call for todoTask resources in a todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the todoTask in that todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTask resources without having to fetch the entire set from the server every time. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DeltaRequestBuilderGetQueryParameters - { - /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaResponse.cs deleted file mode 100644 index aa5bd3e67b2..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.Todo.Lists.Item.Tasks.Delta -{ - [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DeltaResponse : global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaGetResponse, 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.Me.Todo.Lists.Item.Tasks.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs deleted file mode 100644 index 21762e514cb..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions -{ - /// - /// Provides operations to manage the attachmentSessions property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentSessionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachmentSessions property of the microsoft.graph.todoTask entity. - /// The unique identifier of attachmentSession - /// A - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachmentSession%2Did", position); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder(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 AttachmentSessionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions{?%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 AttachmentSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get attachmentSessions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get attachmentSessions 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.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.AttachmentSessionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.AttachmentSessionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get attachmentSessions from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentSessionsRequestBuilderGetQueryParameters - { - /// 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 AttachmentSessionsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs deleted file mode 100644 index d199a5b9861..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/$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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/$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.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.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.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/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs deleted file mode 100644 index 60b3f86bc0d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item -{ - /// - /// Provides operations to manage the attachmentSessions property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentSessionItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.ContentRequestBuilder(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 AttachmentSessionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/{attachmentSession%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 AttachmentSessionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/{attachmentSession%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property attachmentSessions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get attachmentSessions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property attachmentSessions 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.Models.AttachmentSession body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.AttachmentSession body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property attachmentSessions 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 attachmentSessions 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 attachmentSessions 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.Models.AttachmentSession body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AttachmentSession body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder(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 AttachmentSessionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get attachmentSessions from me - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentSessionItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentSessionItemRequestBuilderGetRequestConfiguration : 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 AttachmentSessionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs deleted file mode 100644 index fb29c20f328..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/{attachmentSession%2Did}/content", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/{attachmentSession%2Did}/content", rawUrl) - { - } - /// - /// The content streams that are uploaded. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content streams that are uploaded. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content streams that are uploaded. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The content streams that are uploaded. - /// - /// 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; - } - /// - /// The content streams that are uploaded. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The content streams that are uploaded. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs deleted file mode 100644 index 923fab2cc5d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.Attachments -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the createUploadSession method. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachments property of the microsoft.graph.todoTask entity. - /// The unique identifier of attachmentBase - /// A - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("attachmentBase%2Did", position); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments{?%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 AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. - /// 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 PostAsync(global::Microsoft.Graph.Models.AttachmentBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.AttachmentBase body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. - /// - /// 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 a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. - /// - /// 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.Models.AttachmentBase body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AttachmentBase body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentsRequestBuilderGetQueryParameters - { - /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs deleted file mode 100644 index fa62f4ac27a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.Attachments.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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/$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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/$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.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.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.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/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs deleted file mode 100644 index 7c64864ffa3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CreateUploadSessionPostRequestBody : 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 attachmentInfo property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Models.AttachmentInfo? AttachmentInfo - { - get { return BackingStore?.Get("attachmentInfo"); } - set { BackingStore?.Set("attachmentInfo", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Models.AttachmentInfo AttachmentInfo - { - get { return BackingStore?.Get("attachmentInfo"); } - set { BackingStore?.Set("attachmentInfo", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public CreateUploadSessionPostRequestBody() - { - 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.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "attachmentInfo", n => { AttachmentInfo = n.GetObjectValue(global::Microsoft.Graph.Models.AttachmentInfo.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("attachmentInfo", AttachmentInfo); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs deleted file mode 100644 index fdf08c96433..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession -{ - /// - /// Provides operations to call the createUploadSession method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/createUploadSession", rawUrl) - { - } - /// - /// Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. - /// 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 PostAsync(global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. - /// - /// 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.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs deleted file mode 100644 index 946621679da..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs +++ /dev/null @@ -1,182 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item -{ - /// - /// Provides operations to manage the attachments property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentBaseItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the media for the user entity. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder Content - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder(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 AttachmentBaseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/{attachmentBase%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 AttachmentBaseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/{attachmentBase%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete a taskFileAttachment object from a todoTask resource. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties and relationships of a taskFileAttachment object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a taskFileAttachment object from a todoTask 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Read the properties and relationships of a taskFileAttachment 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.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder(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 AttachmentBaseItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties and relationships of a taskFileAttachment object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AttachmentBaseItemRequestBuilderGetQueryParameters - { - /// 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 AttachmentBaseItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs deleted file mode 100644 index 0cbce34ae42..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs +++ /dev/null @@ -1,203 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value -{ - /// - /// Provides operations to manage the media for the user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ContentRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/{attachmentBase%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/{attachmentBase%2Did}/$value", rawUrl) - { - } - /// - /// Delete a taskFileAttachment object from a todoTask resource. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a taskFileAttachment object from a todoTask 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 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 a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. - /// - /// 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/octet-stream, application/json"); - return requestInfo; - } - /// - /// The unique identifier for an entity. Read-only. - /// - /// A - /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetStreamContent(body, "application/octet-stream"); - 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.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs deleted file mode 100644 index 22675170ee3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems -{ - /// - /// Provides operations to manage the checklistItems property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChecklistItemsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the checklistItems property of the microsoft.graph.todoTask entity. - /// The unique identifier of checklistItem - /// A - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("checklistItem%2Did", position); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder(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 ChecklistItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/checklistItems{?%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 ChecklistItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/checklistItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChecklistItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new checklistItem object. - /// 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 PostAsync(global::Microsoft.Graph.Models.ChecklistItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.ChecklistItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. - /// - /// 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 a new checklistItem object. - /// - /// 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.Models.ChecklistItem body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChecklistItem body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.ChecklistItemsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.ChecklistItemsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChecklistItemsRequestBuilderGetQueryParameters - { - /// 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 ChecklistItemsRequestBuilderGetRequestConfiguration : 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 ChecklistItemsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs deleted file mode 100644 index 0cb5df27725..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/checklistItems/$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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/checklistItems/$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.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.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.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/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs deleted file mode 100644 index 4abc018ef7e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs +++ /dev/null @@ -1,232 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item -{ - /// - /// Provides operations to manage the checklistItems property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChecklistItemItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ChecklistItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/checklistItems/{checklistItem%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 ChecklistItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/checklistItems/{checklistItem%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete a checklistItem object. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties and relationships of a checklistItem object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of a checklistItem object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.ChecklistItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.ChecklistItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a checklistItem 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Read the properties and relationships of a checklistItem 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; - } - /// - /// Update the properties of a checklistItem object. - /// - /// 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.Models.ChecklistItem body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChecklistItem body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder(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 ChecklistItemItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties and relationships of a checklistItem object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChecklistItemItemRequestBuilderGetQueryParameters - { - /// 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 ChecklistItemItemRequestBuilderGetRequestConfiguration : 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 ChecklistItemItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs deleted file mode 100644 index 3999c95ddab..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.Extensions.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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/extensions/$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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/extensions/$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.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.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.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/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs deleted file mode 100644 index a5d0d5ae11b..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.Extensions -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.todoTask entity. - /// The unique identifier of extension - /// A - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("extension%2Did", position); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/extensions{?%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 ExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The collection of open extensions defined for the task. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the task. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.ExtensionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.ExtensionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The collection of open extensions defined for the task. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionsRequestBuilderGetQueryParameters - { - /// 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 ExtensionsRequestBuilderGetRequestConfiguration : 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 ExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs deleted file mode 100644 index 226dfa1beca..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item -{ - /// - /// Provides operations to manage the extensions property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public ExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/extensions/{extension%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 ExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property extensions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The collection of open extensions defined for the task. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property extensions 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.Models.Extension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property extensions 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; - } - /// - /// The collection of open extensions defined for the task. Nullable. - /// - /// 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 extensions 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.Models.Extension body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Extension body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder(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 ExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// The collection of open extensions defined for the task. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ExtensionItemRequestBuilderGetQueryParameters - { - /// 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 ExtensionItemRequestBuilderGetRequestConfiguration : 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 ExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs deleted file mode 100644 index 266030fd7d8..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/linkedResources/$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/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/linkedResources/$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.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.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.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/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs deleted file mode 100644 index 99268bfb80c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs +++ /dev/null @@ -1,232 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item -{ - /// - /// Provides operations to manage the linkedResources property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LinkedResourceItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LinkedResourceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/linkedResources/{linkedResource%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 LinkedResourceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/linkedResources/{linkedResource%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete a linkedResource object. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties and relationships of a linkedResource object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of a linkedResource object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.LinkedResource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.LinkedResource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a linkedResource 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Read the properties and relationships of a linkedResource 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; - } - /// - /// Update the properties of a linkedResource object. - /// - /// 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.Models.LinkedResource body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.LinkedResource body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder(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 LinkedResourceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties and relationships of a linkedResource object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LinkedResourceItemRequestBuilderGetQueryParameters - { - /// 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 LinkedResourceItemRequestBuilderGetRequestConfiguration : 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 LinkedResourceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs deleted file mode 100644 index b5a4311174d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs +++ /dev/null @@ -1,240 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item.LinkedResources -{ - /// - /// Provides operations to manage the linkedResources property of the microsoft.graph.todoTask entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LinkedResourcesRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the linkedResources property of the microsoft.graph.todoTask entity. - /// The unique identifier of linkedResource - /// A - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("linkedResource%2Did", position); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder(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 LinkedResourcesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/linkedResources{?%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 LinkedResourcesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/linkedResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LinkedResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a task. - /// 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 PostAsync(global::Microsoft.Graph.Models.LinkedResource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.LinkedResource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. - /// - /// 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 a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a task. - /// - /// 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.Models.LinkedResource body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.LinkedResource body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.LinkedResourcesRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.LinkedResourcesRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LinkedResourcesRequestBuilderGetQueryParameters - { - /// 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 LinkedResourcesRequestBuilderGetRequestConfiguration : 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 LinkedResourcesRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs deleted file mode 100644 index 4a85ac50b56..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs +++ /dev/null @@ -1,262 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks.Item -{ - /// - /// Provides operations to manage the tasks property of the microsoft.graph.todoTaskList entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TodoTaskItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the attachments property of the microsoft.graph.todoTask entity. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.AttachmentsRequestBuilder Attachments - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the attachmentSessions property of the microsoft.graph.todoTask entity. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.AttachmentSessionsRequestBuilder AttachmentSessions - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.AttachmentSessionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the checklistItems property of the microsoft.graph.todoTask entity. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.ChecklistItemsRequestBuilder ChecklistItems - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.ChecklistItemsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the extensions property of the microsoft.graph.todoTask entity. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the linkedResources property of the microsoft.graph.todoTask entity. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.LinkedResourcesRequestBuilder LinkedResources - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.LinkedResourcesRequestBuilder(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 TodoTaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%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 TodoTaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete a todoTask object. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties and relationships of a todoTask object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of a todoTask object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.TodoTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TodoTask body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete a todoTask 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Read the properties and relationships of a todoTask 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; - } - /// - /// Update the properties of a todoTask object. - /// - /// 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.Models.TodoTask body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TodoTask body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder(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 TodoTaskItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties and relationships of a todoTask object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TodoTaskItemRequestBuilderGetQueryParameters - { - /// 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 TodoTaskItemRequestBuilderGetRequestConfiguration : 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 TodoTaskItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs deleted file mode 100644 index 86973ed1772..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item.Tasks -{ - /// - /// Provides operations to manage the tasks property of the microsoft.graph.todoTaskList entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TasksRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tasks property of the microsoft.graph.todoTaskList entity. - /// The unique identifier of todoTask - /// A - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("todoTask%2Did", position); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder(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 TasksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks{?%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 TasksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the todoTask resources from the tasks navigation property of a specified todoTaskList. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TodoTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new task object in a specified todoTaskList. - /// 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 PostAsync(global::Microsoft.Graph.Models.TodoTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TodoTask body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the todoTask resources from the tasks navigation property of a specified todoTaskList. - /// - /// 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 a new task object in a specified todoTaskList. - /// - /// 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.Models.TodoTask body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TodoTask body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.TasksRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.TasksRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the todoTask resources from the tasks navigation property of a specified todoTaskList. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TasksRequestBuilderGetQueryParameters - { - /// 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 TasksRequestBuilderGetRequestConfiguration : 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 TasksRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs deleted file mode 100644 index 883a1e445ad..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs +++ /dev/null @@ -1,244 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Item.Extensions; -using Microsoft.Graph.Me.Todo.Lists.Item.Tasks; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists.Item -{ - /// - /// Provides operations to manage the lists property of the microsoft.graph.todo entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TodoTaskListItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the extensions property of the microsoft.graph.todoTaskList entity. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.ExtensionsRequestBuilder Extensions - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Extensions.ExtensionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the tasks property of the microsoft.graph.todoTaskList entity. - public global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.TasksRequestBuilder Tasks - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Item.Tasks.TasksRequestBuilder(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 TodoTaskListItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%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 TodoTaskListItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists/{todoTaskList%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Deletes a todoTaskList object. - /// Find more info here - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Read the properties and relationships of a todoTaskList object. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the properties of a todoTaskList object. - /// 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 PatchAsync(global::Microsoft.Graph.Models.TodoTaskList body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.TodoTaskList body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Deletes a todoTaskList 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Read the properties and relationships of a todoTaskList 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; - } - /// - /// Update the properties of a todoTaskList object. - /// - /// 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.Models.TodoTaskList body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TodoTaskList body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder(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 TodoTaskListItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Read the properties and relationships of a todoTaskList object. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TodoTaskListItemRequestBuilderGetQueryParameters - { - /// 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 TodoTaskListItemRequestBuilderGetRequestConfiguration : 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 TodoTaskListItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/ListsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/ListsRequestBuilder.cs deleted file mode 100644 index 199dc6de0c7..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/ListsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists.Count; -using Microsoft.Graph.Me.Todo.Lists.Delta; -using Microsoft.Graph.Me.Todo.Lists.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo.Lists -{ - /// - /// Provides operations to manage the lists property of the microsoft.graph.todo entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ListsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the delta method. - public global::Microsoft.Graph.Me.Todo.Lists.Delta.DeltaRequestBuilder Delta - { - get => new global::Microsoft.Graph.Me.Todo.Lists.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the lists property of the microsoft.graph.todo entity. - /// The unique identifier of todoTaskList - /// A - public global::Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("todoTaskList%2Did", position); - return new global::Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder(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 ListsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists{?%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 ListsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo/lists{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of the todoTaskList objects and their properties. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TodoTaskListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create a new lists object. - /// 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 PostAsync(global::Microsoft.Graph.Models.TodoTaskList body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.TodoTaskList body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of the todoTaskList objects and their properties. - /// - /// 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 a new lists object. - /// - /// 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.Models.TodoTaskList body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TodoTaskList body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.Lists.ListsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.Lists.ListsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of the todoTaskList objects and their properties. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ListsRequestBuilderGetQueryParameters - { - /// 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 ListsRequestBuilderGetRequestConfiguration : 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 ListsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Todo/TodoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/TodoRequestBuilder.cs deleted file mode 100644 index 0fdb5842f50..00000000000 --- a/src/Microsoft.Graph/Generated/Me/Todo/TodoRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.Todo.Lists; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.Todo -{ - /// - /// Provides operations to manage the todo property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TodoRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the lists property of the microsoft.graph.todo entity. - public global::Microsoft.Graph.Me.Todo.Lists.ListsRequestBuilder Lists - { - get => new global::Microsoft.Graph.Me.Todo.Lists.ListsRequestBuilder(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 TodoRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo{?%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 TodoRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/todo{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property todo 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the To Do services available to a user. - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property todo 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.Models.Todo body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.Todo body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property todo for me - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents the To Do services available to a user. - /// - /// 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 todo 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.Models.Todo body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Todo body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Todo.TodoRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Todo.TodoRequestBuilder(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 TodoRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents the To Do services available to a user. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TodoRequestBuilderGetQueryParameters - { - /// 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 TodoRequestBuilderGetRequestConfiguration : 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 TodoRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Count/CountRequestBuilder.cs deleted file mode 100644 index 8347e22d157..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.TransitiveMemberOf.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/transitiveMemberOf/$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/transitiveMemberOf/$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.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.Me.TransitiveMemberOf.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.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/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs deleted file mode 100644 index 3fb593c5908..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.TransitiveMemberOf.GraphAdministrativeUnit.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/transitiveMemberOf/graph.administrativeUnit/$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/transitiveMemberOf/graph.administrativeUnit/$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.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.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.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/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs deleted file mode 100644 index 9c90821ef93..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.TransitiveMemberOf.GraphAdministrativeUnit -{ - /// - /// Casts the previous resource to administrativeUnit. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAdministrativeUnitRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.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 GraphAdministrativeUnitRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/graph.administrativeUnit{?%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 GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/graph.administrativeUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection - /// - /// 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.Me.TransitiveMemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAdministrativeUnitRequestBuilderGetQueryParameters - { - /// 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 GraphAdministrativeUnitRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs deleted file mode 100644 index bfaf18f38d3..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.TransitiveMemberOf.GraphDirectoryRole.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/transitiveMemberOf/graph.directoryRole/$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/transitiveMemberOf/graph.directoryRole/$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.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.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.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/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs deleted file mode 100644 index 022d9914b7f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.TransitiveMemberOf.GraphDirectoryRole -{ - /// - /// Casts the previous resource to directoryRole. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDirectoryRoleRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.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 GraphDirectoryRoleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/graph.directoryRole{?%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 GraphDirectoryRoleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/graph.directoryRole{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection - /// - /// 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.Me.TransitiveMemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDirectoryRoleRequestBuilderGetQueryParameters - { - /// 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 GraphDirectoryRoleRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs deleted file mode 100644 index ec5a58e0b77..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.TransitiveMemberOf.GraphGroup.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/transitiveMemberOf/graph.group/$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/transitiveMemberOf/graph.group/$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.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.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.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/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs deleted file mode 100644 index e0da1d7993f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ /dev/null @@ -1,170 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.TransitiveMemberOf.GraphGroup -{ - /// - /// Casts the previous resource to group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.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 GraphGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/graph.group{?%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 GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/graph.group{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection - /// - /// 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.Me.TransitiveMemberOf.GraphGroup.GraphGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.GraphGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilderGetQueryParameters - { - /// 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 GraphGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs deleted file mode 100644 index 2022e895331..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ /dev/null @@ -1,143 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit; -using Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole; -using Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.TransitiveMemberOf.Item -{ - /// - /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder - { - /// Casts the previous resource to administrativeUnit. - public global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder GraphAdministrativeUnit - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to directoryRole. - public global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder GraphDirectoryRole - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to group. - public global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.GraphGroupRequestBuilder GraphGroup - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.GraphGroupRequestBuilder(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 DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. - /// - /// 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.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs deleted file mode 100644 index f3dc9a58a4d..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit -{ - /// - /// Casts the previous resource to administrativeUnit. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAdministrativeUnitRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphAdministrativeUnitRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/{directoryObject%2Did}/graph.administrativeUnit{?%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 GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/{directoryObject%2Did}/graph.administrativeUnit{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit - /// - /// 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.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphAdministrativeUnitRequestBuilderGetQueryParameters - { - /// 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 GraphAdministrativeUnitRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs deleted file mode 100644 index c4f2f34972f..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.TransitiveMemberOf.Item.GraphDirectoryRole -{ - /// - /// Casts the previous resource to directoryRole. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDirectoryRoleRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphDirectoryRoleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/{directoryObject%2Did}/graph.directoryRole{?%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 GraphDirectoryRoleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/{directoryObject%2Did}/graph.directoryRole{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole - /// - /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole - /// - /// 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.Me.TransitiveMemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphDirectoryRoleRequestBuilderGetQueryParameters - { - /// 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 GraphDirectoryRoleRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs deleted file mode 100644 index fdaaf4a806a..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.TransitiveMemberOf.Item.GraphGroup -{ - /// - /// Casts the previous resource to group. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GraphGroupRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/{directoryObject%2Did}/graph.group{?%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 GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf/{directoryObject%2Did}/graph.group{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.GraphGroupRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.GraphGroupRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GraphGroupRequestBuilderGetQueryParameters - { - /// 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 GraphGroupRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs deleted file mode 100644 index 3578a0d5ca1..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ /dev/null @@ -1,201 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Me.TransitiveMemberOf.Count; -using Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit; -using Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole; -using Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup; -using Microsoft.Graph.Me.TransitiveMemberOf.Item; -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.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.Me.TransitiveMemberOf -{ - /// - /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.user entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TransitiveMemberOfRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to administrativeUnit. - public global::Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder GraphAdministrativeUnit - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to directoryRole. - public global::Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder GraphDirectoryRole - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder(PathParameters, RequestAdapter); - } - /// Casts the previous resource to group. - public global::Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.GraphGroupRequestBuilder GraphGroup - { - get => new global::Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.GraphGroupRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.user entity. - /// The unique identifier of directoryObject - /// A - public global::Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("directoryObject%2Did", position); - return new global::Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder(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 TransitiveMemberOfRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf{?%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 TransitiveMemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/transitiveMemberOf{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. - /// - /// 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.Me.TransitiveMemberOf.TransitiveMemberOfRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TransitiveMemberOf.TransitiveMemberOfRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TransitiveMemberOfRequestBuilderGetQueryParameters - { - /// 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 TransitiveMemberOfRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs deleted file mode 100644 index 18063ae688e..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs +++ /dev/null @@ -1,98 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.TranslateExchangeIds -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TranslateExchangeIdsPostRequestBody : 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 InputIds property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? InputIds - { - get { return BackingStore?.Get?>("InputIds"); } - set { BackingStore?.Set("InputIds", value); } - } -#nullable restore -#else - public List InputIds - { - get { return BackingStore?.Get>("InputIds"); } - set { BackingStore?.Set("InputIds", value); } - } -#endif - /// The SourceIdType property - public global::Microsoft.Graph.Models.ExchangeIdFormat? SourceIdType - { - get { return BackingStore?.Get("SourceIdType"); } - set { BackingStore?.Set("SourceIdType", value); } - } - /// The TargetIdType property - public global::Microsoft.Graph.Models.ExchangeIdFormat? TargetIdType - { - get { return BackingStore?.Get("TargetIdType"); } - set { BackingStore?.Set("TargetIdType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public TranslateExchangeIdsPostRequestBody() - { - 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.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "InputIds", n => { InputIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "SourceIdType", n => { SourceIdType = n.GetEnumValue(); } }, - { "TargetIdType", n => { TargetIdType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("InputIds", InputIds); - writer.WriteEnumValue("SourceIdType", SourceIdType); - writer.WriteEnumValue("TargetIdType", TargetIdType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostResponse.cs b/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostResponse.cs deleted file mode 100644 index d20016bad97..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Me.TranslateExchangeIds -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TranslateExchangeIdsPostResponse : global::Microsoft.Graph.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.Me.TranslateExchangeIds.TranslateExchangeIdsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostResponse(); - } - /// - /// 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.Models.ConvertIdResult.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs deleted file mode 100644 index bbe051ff2c4..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.TranslateExchangeIds -{ - /// - /// Provides operations to call the translateExchangeIds method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class TranslateExchangeIdsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public TranslateExchangeIdsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/translateExchangeIds", 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 TranslateExchangeIdsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/translateExchangeIds", rawUrl) - { - } - /// - /// Translate identifiers of Outlook-related resources between formats. - /// 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 PostAsTranslateExchangeIdsPostResponseAsync(global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsTranslateExchangeIdsPostResponseAsync(global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Translate identifiers of Outlook-related resources between formats. - /// 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 PostAsTranslateExchangeIdsPostResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Translate identifiers of Outlook-related resources between formats. - /// - /// 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.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsRequestBuilder(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 TranslateExchangeIdsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsResponse.cs b/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsResponse.cs deleted file mode 100644 index 7742c5937c9..00000000000 --- a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#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.Me.TranslateExchangeIds -{ - [Obsolete("This class is obsolete. Use TranslateExchangeIdsPostResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TranslateExchangeIdsResponse : global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostResponse, 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.Me.TranslateExchangeIds.TranslateExchangeIdsResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagPostRequestBody.cs deleted file mode 100644 index 246e4b89d92..00000000000 --- a/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagPostRequestBody.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#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.Me.WipeManagedAppRegistrationsByDeviceTag -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class WipeManagedAppRegistrationsByDeviceTagPostRequestBody : 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 deviceTag property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DeviceTag - { - get { return BackingStore?.Get("deviceTag"); } - set { BackingStore?.Set("deviceTag", value); } - } -#nullable restore -#else - public string DeviceTag - { - get { return BackingStore?.Get("deviceTag"); } - set { BackingStore?.Set("deviceTag", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public WipeManagedAppRegistrationsByDeviceTagPostRequestBody() - { - 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.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "deviceTag", n => { DeviceTag = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("deviceTag", DeviceTag); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs deleted file mode 100644 index b8b6fc62e1c..00000000000 --- a/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs +++ /dev/null @@ -1,101 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.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.Me.WipeManagedAppRegistrationsByDeviceTag -{ - /// - /// Provides operations to call the wipeManagedAppRegistrationsByDeviceTag method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class WipeManagedAppRegistrationsByDeviceTagRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public WipeManagedAppRegistrationsByDeviceTagRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/wipeManagedAppRegistrationsByDeviceTag", 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 WipeManagedAppRegistrationsByDeviceTagRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/wipeManagedAppRegistrationsByDeviceTag", rawUrl) - { - } - /// - /// Issues a wipe operation on an app registration with specified device tag. - /// - /// 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.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Issues a wipe operation on an app registration with specified device tag. - /// - /// 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.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagPostRequestBody body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagRequestBuilder(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 WipeManagedAppRegistrationsByDeviceTagRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index fbfd8556996..959b1aac208 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -4203,7 +4203,6 @@ Microsoft.Graph.BaseGraphServiceClient::|public|identityProtection:global.Micros Microsoft.Graph.BaseGraphServiceClient::|public|identityProviders:global.Microsoft.Graph.IdentityProviders.IdentityProvidersRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|informationProtection:global.Microsoft.Graph.InformationProtection.InformationProtectionRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|invitations:global.Microsoft.Graph.Invitations.InvitationsRequestBuilder -Microsoft.Graph.BaseGraphServiceClient::|public|me:global.Microsoft.Graph.Me.MeRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|oauth2PermissionGrants:global.Microsoft.Graph.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|organization:global.Microsoft.Graph.Organization.OrganizationRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|permissionGrants:global.Microsoft.Graph.PermissionGrants.PermissionGrantsRequestBuilder @@ -90482,16845 +90481,6 @@ Microsoft.Graph.Invitations.InvitedUserSponsors.Item.DirectoryObjectItemRequestB Microsoft.Graph.Invitations.InvitedUserSponsors.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject Microsoft.Graph.Invitations.InvitedUserSponsors.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Invitations.InvitedUserSponsors.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Invitations.InvitedUserSponsors.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.Activities.activitiesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.activitiesRequestBuilder.activitiesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::[UserActivityId:string]:global.Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Activities.Count.CountRequestBuilder -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserActivityCollectionResponse -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.UserActivity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserActivity -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::|public|recent:global.Microsoft.Graph.Me.Activities.Recent.RecentRequestBuilder -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.UserActivity; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.activitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Activities.ActivitiesRequestBuilder -Microsoft.Graph.Me.Activities.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Activities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Activities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Activities.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Activities.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Activities.Count.CountRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder::[ActivityHistoryItemId:string]:global.Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Activities.Item.HistoryItems.Count.CountRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivityHistoryItemCollectionResponse -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ActivityHistoryItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivityHistoryItem -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ActivityHistoryItem; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.HistoryItems.historyItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Activities.Item.HistoryItems.HistoryItemsRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.activityRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.activityRequestBuilder.activityRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.activityRequestBuilder.activityRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.activityRequestBuilder.activityRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.activityRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.activityRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.activityRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserActivity -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.activityRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.activityRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.ActivityRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder.ActivityHistoryItemItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder.ActivityHistoryItemItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder.ActivityHistoryItemItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder.ActivityHistoryItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder.ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|activity:global.Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.Activity.ActivityRequestBuilder -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivityHistoryItem -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ActivityHistoryItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivityHistoryItem -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ActivityHistoryItem; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Activities.Item.HistoryItems.Item.ActivityHistoryItemItemRequestBuilder -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder.UserActivityItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder.UserActivityItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder.UserActivityItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder.UserActivityItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder.UserActivityItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserActivity -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|historyItems:global.Microsoft.Graph.Me.Activities.Item.HistoryItems.HistoryItemsRequestBuilder -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserActivity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserActivity -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserActivity; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Activities.Item.UserActivityItemRequestBuilder -Microsoft.Graph.Me.Activities.Recent.recentGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Activities.Recent.recentGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Activities.Recent.recentGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Activities.Recent.recentGetResponse::|public|Value:List -Microsoft.Graph.Me.Activities.Recent.recentGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Activities.Recent.RecentGetResponse -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder.recentRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder.recentRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder.recentRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder.recentRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder.recentRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder.recentRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder.recentRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder.recentRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder.recentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder::|public|GetAsRecentGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Activities.Recent.RecentGetResponse -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Activities.Recent.RecentResponse -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Activities.Recent.RecentRequestBuilder -Microsoft.Graph.Me.Activities.Recent.recentResponse-->global.Microsoft.Graph.Me.Activities.Recent.RecentGetResponse -Microsoft.Graph.Me.Activities.Recent.recentResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Activities.Recent.RecentResponse -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::[AdhocCallId:string]:global.Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCallCollectionResponse -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:string -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:string -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|recordings:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|transcripts:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaResponse-->global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::[CallRecordingId:string]:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecordingCollectionResponse -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaResponse-->global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|metadataContent:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::[CallTranscriptId:string]:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscriptCollectionResponse -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder::[AgreementAcceptanceId:string]:global.Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AgreementAcceptanceCollectionResponse -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AgreementAcceptances.AgreementAcceptancesRequestBuilder -Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AgreementAcceptances.Count.CountRequestBuilder -Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder.AgreementAcceptanceItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder.AgreementAcceptanceItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder.AgreementAcceptanceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AgreementAcceptance -Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AgreementAcceptances.Item.AgreementAcceptanceItemRequestBuilder -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder::[AppRoleAssignmentId:string]:global.Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AppRoleAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignment -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AppRoleAssignment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AppRoleAssignments.AppRoleAssignmentsRequestBuilder -Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AppRoleAssignments.Count.CountRequestBuilder -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignment -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AppRoleAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignment -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AppRoleAssignment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder -Microsoft.Graph.Me.AssignLicense.assignLicensePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.AssignLicense.assignLicensePostRequestBody::|public|AddLicenses:List -Microsoft.Graph.Me.AssignLicense.assignLicensePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.AssignLicense.assignLicensePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.AssignLicense.assignLicensePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.AssignLicense.assignLicensePostRequestBody::|public|RemoveLicenses:List -Microsoft.Graph.Me.AssignLicense.assignLicensePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.AssignLicense.assignLicensePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AssignLicense.AssignLicensePostRequestBody -Microsoft.Graph.Me.AssignLicense.assignLicensePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.AssignLicense.assignLicenseRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.AssignLicense.assignLicenseRequestBuilder.assignLicenseRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.AssignLicense.assignLicenseRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AssignLicense.assignLicenseRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.AssignLicense.assignLicenseRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.AssignLicense.AssignLicensePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User -Microsoft.Graph.Me.AssignLicense.assignLicenseRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.AssignLicense.AssignLicensePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.AssignLicense.assignLicenseRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AssignLicense.AssignLicenseRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder.authenticationRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder.authenticationRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder.authenticationRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder.authenticationRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder.authenticationRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|emailMethods:global.Microsoft.Graph.Me.Authentication.EmailMethods.EmailMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|externalAuthenticationMethods:global.Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|fido2Methods:global.Microsoft.Graph.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Authentication -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|methods:global.Microsoft.Graph.Me.Authentication.Methods.MethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|microsoftAuthenticatorMethods:global.Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.MicrosoftAuthenticatorMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|operations:global.Microsoft.Graph.Me.Authentication.Operations.OperationsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|passwordMethods:global.Microsoft.Graph.Me.Authentication.PasswordMethods.PasswordMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Authentication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Authentication -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|phoneMethods:global.Microsoft.Graph.Me.Authentication.PhoneMethods.PhoneMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|platformCredentialMethods:global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|resourceAccountKeyAuthenticationMethods:global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|softwareOathMethods:global.Microsoft.Graph.Me.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|temporaryAccessPassMethods:global.Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.TemporaryAccessPassMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Authentication; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|windowsHelloForBusinessMethods:global.Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.WindowsHelloForBusinessMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.AuthenticationRequestBuilder -Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder.emailMethodsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder::[EmailAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.EmailMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EmailAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.EmailAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EmailAuthenticationMethod -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.EmailAuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.EmailMethods.emailMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.EmailMethods.EmailMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder.EmailAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder.EmailAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder.EmailAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder.EmailAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder.EmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EmailAuthenticationMethod -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EmailAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EmailAuthenticationMethod -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EmailAuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.EmailMethods.Item.EmailAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder.externalAuthenticationMethodsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder::[ExternalAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExternalAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ExternalAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExternalAuthenticationMethod -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ExternalAuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.externalAuthenticationMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder.ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder.ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder.ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder.ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder.ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExternalAuthenticationMethod -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ExternalAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExternalAuthenticationMethod -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ExternalAuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ExternalAuthenticationMethods.Item.ExternalAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder.creationOptionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebauthnCredentialCreationOptions -Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::[Fido2AuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|creationOptions:global.Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Fido2AuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder.Fido2AuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder.Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder.Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder.Fido2AuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Fido2AuthenticationMethod -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder.AuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder.AuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder.AuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder.AuthenticationMethodItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AuthenticationMethod -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AuthenticationMethod -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder::|public|resetPassword:global.Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordPostRequestBody::|public|NewPassword:string -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordPostRequestBody -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordRequestBuilder.resetPasswordRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PasswordResetResponse -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.resetPasswordRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Methods.Item.ResetPassword.ResetPasswordRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder.methodsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder::[AuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.Methods.Item.AuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.Methods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AuthenticationMethod -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Methods.methodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Methods.MethodsRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.deviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.deviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.deviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.deviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Device -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.deviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.deviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.DeviceRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder::|public|device:global.Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.Device.DeviceRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MicrosoftAuthenticatorAuthenticationMethod -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder.microsoftAuthenticatorMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder.microsoftAuthenticatorMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder.microsoftAuthenticatorMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder.microsoftAuthenticatorMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder.microsoftAuthenticatorMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder.microsoftAuthenticatorMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder.microsoftAuthenticatorMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder.microsoftAuthenticatorMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder.microsoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder::[MicrosoftAuthenticatorAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MicrosoftAuthenticatorAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.microsoftAuthenticatorMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.MicrosoftAuthenticatorMethods.MicrosoftAuthenticatorMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder.LongRunningOperationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder.LongRunningOperationItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder.LongRunningOperationItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder.LongRunningOperationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder.LongRunningOperationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LongRunningOperation -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.LongRunningOperation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LongRunningOperation -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.LongRunningOperation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder.operationsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder::[LongRunningOperationId:string]:global.Microsoft.Graph.Me.Authentication.Operations.Item.LongRunningOperationItemRequestBuilder -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.Operations.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LongRunningOperationCollectionResponse -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.LongRunningOperation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LongRunningOperation -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.LongRunningOperation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.Operations.operationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Operations.OperationsRequestBuilder -Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder.PasswordAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder.PasswordAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder.PasswordAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PasswordAuthenticationMethod -Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder.passwordMethodsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder::[PasswordAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.PasswordMethods.Item.PasswordAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.PasswordMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PasswordAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PasswordAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PasswordAuthenticationMethod -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PasswordAuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PasswordMethods.passwordMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PasswordMethods.PasswordMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.disableSmsSignInRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.disableSmsSignInRequestBuilder.disableSmsSignInRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.disableSmsSignInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.disableSmsSignInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.disableSmsSignInRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.disableSmsSignInRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.disableSmsSignInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.DisableSmsSignInRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.enableSmsSignInRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.enableSmsSignInRequestBuilder.enableSmsSignInRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.enableSmsSignInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.enableSmsSignInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.enableSmsSignInRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.enableSmsSignInRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.enableSmsSignInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.EnableSmsSignInRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder.PhoneAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder.PhoneAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder.PhoneAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder.PhoneAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder.PhoneAuthenticationMethodItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|disableSmsSignIn:global.Microsoft.Graph.Me.Authentication.PhoneMethods.Item.DisableSmsSignIn.DisableSmsSignInRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|enableSmsSignIn:global.Microsoft.Graph.Me.Authentication.PhoneMethods.Item.EnableSmsSignIn.EnableSmsSignInRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PhoneAuthenticationMethod -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PhoneAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PhoneAuthenticationMethod -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PhoneAuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder.phoneMethodsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder::[PhoneAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.PhoneMethods.Item.PhoneAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.PhoneMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PhoneAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PhoneAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PhoneAuthenticationMethod -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PhoneAuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PhoneMethods.phoneMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PhoneMethods.PhoneMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.deviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.deviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.deviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.deviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Device -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.deviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.deviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.DeviceRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder.PlatformCredentialAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder.PlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder.PlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder.PlatformCredentialAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder::|public|device:global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.Device.DeviceRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlatformCredentialAuthenticationMethod -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder.platformCredentialMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder.platformCredentialMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder.platformCredentialMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder.platformCredentialMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder.platformCredentialMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder.platformCredentialMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder.platformCredentialMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder.platformCredentialMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder.platformCredentialMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::[PlatformCredentialAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Item.PlatformCredentialAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlatformCredentialAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Device -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|device:global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::[ResourceAccountKeyAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder.SoftwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder.SoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder.SoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder.SoftwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SoftwareOathAuthenticationMethod -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder.softwareOathMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder.softwareOathMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder.softwareOathMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder.softwareOathMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder.softwareOathMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder.softwareOathMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder.softwareOathMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder.softwareOathMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder.softwareOathMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder::[SoftwareOathAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Item.SoftwareOathAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SoftwareOathAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.SoftwareOathMethods.softwareOathMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder.TemporaryAccessPassAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder.TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder.TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder.TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder.temporaryAccessPassMethodsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder::[TemporaryAccessPassAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Item.TemporaryAccessPassAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.temporaryAccessPassMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.TemporaryAccessPassMethodsRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.deviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.deviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.deviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.deviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Device -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.deviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.deviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.DeviceRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder::|public|device:global.Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.Device.DeviceRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsHelloForBusinessAuthenticationMethod -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder.windowsHelloForBusinessMethodsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder.windowsHelloForBusinessMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder.windowsHelloForBusinessMethodsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder.windowsHelloForBusinessMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder.windowsHelloForBusinessMethodsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder.windowsHelloForBusinessMethodsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder.windowsHelloForBusinessMethodsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder.windowsHelloForBusinessMethodsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder.windowsHelloForBusinessMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder::[WindowsHelloForBusinessAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Item.WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.Count.CountRequestBuilder -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsHelloForBusinessAuthenticationMethodCollectionResponse -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.windowsHelloForBusinessMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods.WindowsHelloForBusinessMethodsRequestBuilder -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Value:List -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; User?:string):void -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserResponse-->global.Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse -Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder::[CalendarPermissionId:string]:global.Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermissionCollectionResponse -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermission -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.CalendarPermissions.calendarPermissionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.CalendarPermissions.CalendarPermissionsRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.CalendarPermissions.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermission -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermission -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder -Microsoft.Graph.Me.Calendar.calendarRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.calendarRequestBuilder.calendarRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.calendarRequestBuilder.calendarRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|allowedCalendarSharingRolesWithUser(User:string):global.Microsoft.Graph.Me.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|calendarPermissions:global.Microsoft.Graph.Me.Calendar.CalendarPermissions.CalendarPermissionsRequestBuilder -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|calendarView:global.Microsoft.Graph.Me.Calendar.CalendarView.CalendarViewRequestBuilder -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|events:global.Microsoft.Graph.Me.Calendar.Events.EventsRequestBuilder -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|getSchedule:global.Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleRequestBuilder -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.Calendar.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.calendarRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.CalendarView.calendarViewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.CalendarView.CalendarViewRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaResponse -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaResponse-->global.Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendar.CalendarView.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.CalendarView.Delta.DeltaResponse -Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Calendar.Events.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.Events.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.Events.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Calendar.Events.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.Events.Delta.DeltaResponse -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Delta.deltaResponse-->global.Microsoft.Graph.Me.Calendar.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendar.Events.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Delta.DeltaResponse -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder.eventsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::[EventId:string]:global.Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Calendar.Events.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Calendar.Events.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.eventsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.EventsRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptPostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptPostRequestBody -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptRequestBuilder.acceptRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Accept.acceptRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::[AttachmentId:string]:global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentCollectionResponse -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AttachmentItem:global.Microsoft.Graph.Models.AttachmentItem -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Calendar.calendarRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Calendar.calendarRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Calendar.calendarRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Calendar.calendarRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.Calendar.Events.Item.Calendar.calendarRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Calendar.calendarRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelPostRequestBody -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelRequestBuilder.cancelRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Cancel.cancelRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody::|public|ProposedNewTime:global.Microsoft.Graph.Models.TimeSlot -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclinePostRequestBody -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declinePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declineRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declineRequestBuilder.declineRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declineRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclinePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declineRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclinePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Decline.declineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclineRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.dismissReminderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.dismissReminderRequestBuilder.dismissReminderRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.DismissReminderRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|accept:global.Microsoft.Graph.Me.Calendar.Events.Item.Accept.AcceptRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Me.Calendar.Events.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|calendar:global.Microsoft.Graph.Me.Calendar.Events.Item.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|cancel:global.Microsoft.Graph.Me.Calendar.Events.Item.Cancel.CancelRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|decline:global.Microsoft.Graph.Me.Calendar.Events.Item.Decline.DeclineRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|dismissReminder:global.Microsoft.Graph.Me.Calendar.Events.Item.DismissReminder.DismissReminderRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.Calendar.Events.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|forward:global.Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|instances:global.Microsoft.Graph.Me.Calendar.Events.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|snoozeReminder:global.Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|tentativelyAccept:global.Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.EventItemRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardPostRequestBody -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardRequestBuilder.forwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Forward.forwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaResponse -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaResponse-->global.Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaResponse -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Calendar.Events.Item.Instances.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.Instances.instancesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|NewReminderTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder.snoozeReminderRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|ProposedNewTime:global.Microsoft.Graph.Models.TimeSlot -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder.tentativelyAcceptRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|public|AvailabilityViewInterval:int? -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|public|EndTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|public|Schedules:List -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|public|StartTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostResponse::|public|Value:List -Microsoft.Graph.Me.Calendar.GetSchedule.getSchedulePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostResponse -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleRequestBuilder.getScheduleRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleRequestBuilder::|public|PostAsGetSchedulePostResponseAsync(body:global.Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostResponse -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleResponse -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleRequestBuilder -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleResponse-->global.Microsoft.Graph.Me.Calendar.GetSchedule.GetSchedulePostResponse -Microsoft.Graph.Me.Calendar.GetSchedule.getScheduleResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendar.GetSchedule.GetScheduleResponse -Microsoft.Graph.Me.Calendar.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendar.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendar.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendar.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendar.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendar.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendar.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder.calendarGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder::[CalendarGroupId:string]:global.Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarGroupCollectionResponse -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CalendarGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarGroup -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CalendarGroup; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.calendarGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.CalendarGroupsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder.CalendarGroupItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder.CalendarGroupItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder.CalendarGroupItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder.CalendarGroupItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder.CalendarGroupItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|calendars:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.CalendarsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarGroup -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CalendarGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarGroup -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CalendarGroup; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.CalendarGroupItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder.calendarsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::[CalendarId:string]:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarCollectionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.CalendarsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaResponse-->global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Value:List -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; User?:string):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserResponse-->global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|allowedCalendarSharingRolesWithUser(User:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|calendarPermissions:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|calendarView:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.CalendarViewRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|events:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.EventsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|getSchedule:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::[CalendarPermissionId:string]:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermissionCollectionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermission -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermission -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermission -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|delta:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.CalendarViewRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaResponse-->global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.CalendarView.Delta.DeltaResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaResponse-->global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::[EventId:string]:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.eventsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.EventsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptRequestBuilder.acceptRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::[AttachmentId:string]:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentCollectionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AttachmentItem:global.Microsoft.Graph.Models.AttachmentItem -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder.cancelRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|Comment:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|ProposedNewTime:global.Microsoft.Graph.Models.TimeSlot -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declinePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declineRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declineRequestBuilder.declineRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder.dismissReminderRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|accept:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|calendar:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|cancel:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|decline:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|dismissReminder:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|forward:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|instances:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|snoozeReminder:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|tentativelyAccept:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.EventItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardRequestBuilder.forwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaResponse-->global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|NewReminderTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder.snoozeReminderRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|ProposedNewTime:global.Microsoft.Graph.Models.TimeSlot -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder.tentativelyAcceptRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|AvailabilityViewInterval:int? -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|EndTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|Schedules:List -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|StartTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostResponse::|public|Value:List -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getSchedulePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleRequestBuilder.getScheduleRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|PostAsGetSchedulePostResponseAsync(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleResponse-->global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetSchedulePostResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.getScheduleResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.GetSchedule.GetScheduleResponse -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarGroups.Item.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder.calendarsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::[CalendarId:string]:global.Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Calendars.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarCollectionResponse -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.calendarsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.CalendarsRequestBuilder -Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Calendars.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Calendars.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Delta.DeltaResponse -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendars.Delta.deltaResponse-->global.Microsoft.Graph.Me.Calendars.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Delta.DeltaResponse -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Value:List -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder.allowedCalendarSharingRolesWithUserRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; User?:string):void -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|GetAsAllowedCalendarSharingRolesWithUserGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserResponse-->global.Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse -Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserResponse -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder.CalendarItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|allowedCalendarSharingRolesWithUser(User:string):global.Microsoft.Graph.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|calendarPermissions:global.Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|calendarView:global.Microsoft.Graph.Me.Calendars.Item.CalendarView.CalendarViewRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|events:global.Microsoft.Graph.Me.Calendars.Item.Events.EventsRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|getSchedule:global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Calendar; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.CalendarItemRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder.calendarPermissionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::[CalendarPermissionId:string]:global.Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermissionCollectionResponse -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermission -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.calendarPermissionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.CalendarPermissionsRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder.CalendarPermissionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermission -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CalendarPermission -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CalendarPermission; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.CalendarPermissions.Item.CalendarPermissionItemRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarView.calendarViewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.CalendarView.CalendarViewRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaResponse -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaResponse-->global.Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.CalendarView.Delta.DeltaResponse -Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaResponse -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaResponse-->global.Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Item.Events.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaResponse -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder.eventsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::[EventId:string]:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Calendars.Item.Events.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Calendars.Item.Events.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.eventsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.EventsRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptRequestBuilder.acceptRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.acceptRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::[AttachmentId:string]:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentCollectionResponse -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AttachmentItem:global.Microsoft.Graph.Models.AttachmentItem -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.calendarRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder.cancelRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.cancelRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|ProposedNewTime:global.Microsoft.Graph.Models.TimeSlot -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declinePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declineRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declineRequestBuilder.declineRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclinePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.declineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder.dismissReminderRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|accept:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Accept.AcceptRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|calendar:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|cancel:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Cancel.CancelRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|decline:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Decline.DeclineRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|dismissReminder:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.DismissReminder.DismissReminderRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|forward:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|instances:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|snoozeReminder:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|tentativelyAccept:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.EventItemRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardRequestBuilder.forwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.forwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaResponse-->global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaResponse -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.instancesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|NewReminderTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder.snoozeReminderRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|ProposedNewTime:global.Microsoft.Graph.Models.TimeSlot -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder.tentativelyAcceptRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|AvailabilityViewInterval:int? -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|EndTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|Schedules:List -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|public|StartTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostResponse::|public|Value:List -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getSchedulePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostResponse -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleRequestBuilder.getScheduleRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|PostAsGetSchedulePostResponseAsync(body:global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostResponse -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleResponse -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleRequestBuilder -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleResponse-->global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetSchedulePostResponse -Microsoft.Graph.Me.Calendars.Item.GetSchedule.getScheduleResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Calendars.Item.GetSchedule.GetScheduleResponse -Microsoft.Graph.Me.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Calendars.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Calendars.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder.calendarViewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder::|public|delta:global.Microsoft.Graph.Me.CalendarView.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarView.calendarViewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarView.CalendarViewRequestBuilder -Microsoft.Graph.Me.CalendarView.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.CalendarView.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CalendarView.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CalendarView.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.CalendarView.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CalendarView.Delta.DeltaResponse -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CalendarView.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CalendarView.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.CalendarView.Delta.deltaResponse-->global.Microsoft.Graph.Me.CalendarView.Delta.DeltaGetResponse -Microsoft.Graph.Me.CalendarView.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CalendarView.Delta.DeltaResponse -Microsoft.Graph.Me.ChangePassword.changePasswordPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.ChangePassword.changePasswordPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.ChangePassword.changePasswordPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.ChangePassword.changePasswordPostRequestBody::|public|CurrentPassword:string -Microsoft.Graph.Me.ChangePassword.changePasswordPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ChangePassword.changePasswordPostRequestBody::|public|NewPassword:string -Microsoft.Graph.Me.ChangePassword.changePasswordPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ChangePassword.changePasswordPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ChangePassword.ChangePasswordPostRequestBody -Microsoft.Graph.Me.ChangePassword.changePasswordPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.ChangePassword.changePasswordRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ChangePassword.changePasswordRequestBuilder.changePasswordRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ChangePassword.changePasswordRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ChangePassword.changePasswordRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ChangePassword.changePasswordRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.ChangePassword.ChangePasswordPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ChangePassword.changePasswordRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.ChangePassword.ChangePasswordPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ChangePassword.changePasswordRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ChangePassword.ChangePasswordRequestBuilder -Microsoft.Graph.Me.Chats.chatsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.chatsRequestBuilder.chatsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.chatsRequestBuilder::[ChatId:string]:global.Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|getAllMessages:global.Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesRequestBuilder -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|getAllRetainedMessages:global.Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatCollectionResponse -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Chat -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.chatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.ChatsRequestBuilder -Microsoft.Graph.Me.Chats.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesGetResponse::|public|Value:List -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesGetResponse -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Model:string -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder::|public|GetAsGetAllMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesGetResponse -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesResponse -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesRequestBuilder -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesResponse-->global.Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesGetResponse -Microsoft.Graph.Me.Chats.GetAllMessages.getAllMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.GetAllMessages.GetAllMessagesResponse -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesGetResponse::|public|Value:List -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|GetAsGetAllRetainedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesResponse -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesResponse-->global.Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse -Microsoft.Graph.Me.Chats.GetAllRetainedMessages.getAllRetainedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.GetAllRetainedMessages.GetAllRetainedMessagesResponse -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder.ChatItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder.ChatItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder.ChatItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder.ChatItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder.ChatItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Me.Chats.Item.CompleteMigration.CompleteMigrationRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Chat -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|hideForUser:global.Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|installedApps:global.Microsoft.Graph.Me.Chats.Item.InstalledApps.InstalledAppsRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|lastMessagePreview:global.Microsoft.Graph.Me.Chats.Item.LastMessagePreview.LastMessagePreviewRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|markChatReadForUser:global.Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|markChatUnreadForUser:global.Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|members:global.Microsoft.Graph.Me.Chats.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|messages:global.Microsoft.Graph.Me.Chats.Item.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Chat -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|permissionGrants:global.Microsoft.Graph.Me.Chats.Item.PermissionGrants.PermissionGrantsRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|pinnedMessages:global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessForUser:global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|unhideForUser:global.Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder -Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.CompleteMigration.completeMigrationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.CompleteMigration.completeMigrationRequestBuilder.completeMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.CompleteMigration.completeMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.CompleteMigration.completeMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.CompleteMigration.completeMigrationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.CompleteMigration.completeMigrationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.CompleteMigration.completeMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.CompleteMigration.CompleteMigrationRequestBuilder -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserPostRequestBody::|public|User:global.Microsoft.Graph.Models.TeamworkUserIdentity -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserPostRequestBody -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserRequestBuilder.hideForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.HideForUser.hideForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.HideForUser.HideForUserRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder::[TeamsAppInstallationId:string]:global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppInstallationCollectionResponse -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamsAppInstallation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppInstallation -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsAppInstallation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.InstalledApps.installedAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.InstalledApps.InstalledAppsRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder.teamsAppDefinitionRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder.teamsAppDefinitionRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder.teamsAppDefinitionRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppDefinition -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppInstallation -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsAppInstallation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppInstallation -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|teamsApp:global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|teamsAppDefinition:global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsAppInstallation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|upgrade:global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|ConsentedPermissionSet:global.Microsoft.Graph.Models.TeamsAppPermissionSet -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder.upgradeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder.lastMessagePreviewRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder.lastMessagePreviewRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder.lastMessagePreviewRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder.lastMessagePreviewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder.lastMessagePreviewRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageInfo -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageInfo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageInfo -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageInfo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.LastMessagePreview.lastMessagePreviewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.LastMessagePreview.LastMessagePreviewRequestBuilder -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserPostRequestBody::|public|User:global.Microsoft.Graph.Models.TeamworkUserIdentity -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserPostRequestBody -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserRequestBuilder.markChatReadForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.markChatReadForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.MarkChatReadForUser.MarkChatReadForUserRequestBuilder -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserPostRequestBody::|public|LastMessageReadDateTime:DateTimeOffset? -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserPostRequestBody::|public|User:global.Microsoft.Graph.Models.TeamworkUserIdentity -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserPostRequestBody -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserRequestBuilder.markChatUnreadForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.markChatUnreadForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.MarkChatUnreadForUser.MarkChatUnreadForUserRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostRequestBody::|public|Values:List -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostRequestBody -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostResponse::|public|Value:List -Microsoft.Graph.Me.Chats.Item.Members.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostResponse -Microsoft.Graph.Me.Chats.Item.Members.Add.addRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Members.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostResponse -Microsoft.Graph.Me.Chats.Item.Members.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddResponse -Microsoft.Graph.Me.Chats.Item.Members.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Members.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.Add.addResponse-->global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddPostResponse -Microsoft.Graph.Me.Chats.Item.Members.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddResponse -Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.Chats.Item.Members.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|add:global.Microsoft.Graph.Me.Chats.Item.Members.Add.AddRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|Values:List -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse::|public|Value:List -Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveResponse -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.Chats.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveResponse -Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaResponse-->global.Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.Chats.Item.Messages.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.RepliesRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::[ChatMessageId1:string]:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.RepliesRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder::[ResourceSpecificPermissionGrantId:string]:global.Microsoft.Graph.Me.Chats.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrantCollectionResponse -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.PermissionGrants.PermissionGrantsRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.messageRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.messageRequestBuilder.messageRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.messageRequestBuilder.messageRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.messageRequestBuilder.messageRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.messageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.messageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.messageRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.messageRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.messageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.MessageRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder.PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder.PinnedChatMessageInfoItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder.PinnedChatMessageInfoItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder.PinnedChatMessageInfoItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder.PinnedChatMessageInfoItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PinnedChatMessageInfo -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|message:global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.Message.MessageRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PinnedChatMessageInfo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PinnedChatMessageInfo -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PinnedChatMessageInfo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder.pinnedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::[PinnedChatMessageInfoId:string]:global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.Item.PinnedChatMessageInfoItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PinnedChatMessageInfoCollectionResponse -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PinnedChatMessageInfo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PinnedChatMessageInfo -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PinnedChatMessageInfo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|User:global.Microsoft.Graph.Models.TeamworkUserIdentity -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder.removeAllAccessForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ActivityType:string -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Recipient:global.Microsoft.Graph.Models.TeamworkNotificationRecipient -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|TeamsAppId:string -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|TemplateParameters:List -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Topic:global.Microsoft.Graph.Models.TeamworkActivityTopic -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder.sendActivityNotificationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTab -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTab -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|teamsApp:global.Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::[TeamsTabId:string]:global.Microsoft.Graph.Me.Chats.Item.Tabs.Item.TeamsTabItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.Tabs.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTabCollectionResponse -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTab -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessageCollectionResponse -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|User:global.Microsoft.Graph.Models.TeamworkUserIdentity -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserRequestBuilder.unhideForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|GroupIds:List -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostResponse::|public|Value:List -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostResponse -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsRequestBuilder.checkMemberGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|PostAsCheckMemberGroupsPostResponseAsync(body:global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostResponse -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsResponse -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsRequestBuilder -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsResponse-->global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostResponse -Microsoft.Graph.Me.CheckMemberGroups.checkMemberGroupsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsResponse -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|Ids:List -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostResponse::|public|Value:List -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostResponse -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsRequestBuilder.checkMemberObjectsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|PostAsCheckMemberObjectsPostResponseAsync(body:global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostResponse -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsResponse -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsRequestBuilder -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsResponse-->global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostResponse -Microsoft.Graph.Me.CheckMemberObjects.checkMemberObjectsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsResponse -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder.cloudClipboardRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder.cloudClipboardRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder.cloudClipboardRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder.cloudClipboardRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder.cloudClipboardRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudClipboardRoot -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|items:global.Microsoft.Graph.Me.CloudClipboard.Items.ItemsRequestBuilder -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CloudClipboardRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudClipboardRoot -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CloudClipboardRoot; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudClipboard.cloudClipboardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudClipboard.CloudClipboardRequestBuilder -Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder.CloudClipboardItemItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder.CloudClipboardItemItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder.CloudClipboardItemItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder.CloudClipboardItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder.CloudClipboardItemItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudClipboardItem -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CloudClipboardItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudClipboardItem -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CloudClipboardItem; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder.itemsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::[CloudClipboardItemId:string]:global.Microsoft.Graph.Me.CloudClipboard.Items.Item.CloudClipboardItemItemRequestBuilder -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CloudClipboard.Items.Count.CountRequestBuilder -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudClipboardItemCollectionResponse -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CloudClipboardItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudClipboardItem -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CloudClipboardItem; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudClipboard.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudClipboard.Items.ItemsRequestBuilder -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder.cloudPCsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::[CloudPCId:string]:global.Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPCCollectionResponse -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.cloudPCsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder -Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Count.CountRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder.CloudPCItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|endGracePeriod:global.Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reboot:global.Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|rename:global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reprovision:global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|resize:global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|restore:global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|retrieveCloudPcLaunchDetail:global.Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|troubleshoot:global.Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder.endGracePeriodRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.endGracePeriodRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod.EndGracePeriodRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder.rebootRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|DisplayName:string -Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody -Microsoft.Graph.Me.CloudPCs.Item.Rename.renamePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder.renameRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|OsVersion:global.Microsoft.Graph.Models.CloudPcOperatingSystem? -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|UserAccountType:global.Microsoft.Graph.Models.CloudPcUserAccountType? -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder.reprovisionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|TargetServicePlanId:string -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder.resizeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.Resize.resizeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|CloudPcSnapshotId:string -Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody -Microsoft.Graph.Me.CloudPCs.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder.retrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPcLaunchDetail -Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder.troubleshootRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder.contactFoldersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::[ContactFolderId:string]:global.Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::|public|delta:global.Microsoft.Graph.Me.ContactFolders.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactFolderCollectionResponse -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ContactFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactFolder -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ContactFolder; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.contactFoldersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.ContactFoldersRequestBuilder -Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.ContactFolders.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ContactFolders.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ContactFolders.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.ContactFolders.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ContactFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ContactFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ContactFolders.Delta.DeltaResponse -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.ContactFolders.Delta.deltaResponse-->global.Microsoft.Graph.Me.ContactFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ContactFolders.Delta.DeltaResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::[ContactFolderId1:string]:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|delta:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactFolderCollectionResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ContactFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactFolder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ContactFolder; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.ChildFoldersRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaResponse-->global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Delta.DeltaResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|contacts:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.ContactsRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactFolder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ContactFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactFolder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ContactFolder; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.ContactFolderItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::[ContactId:string]:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactCollectionResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.contactsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.ContactsRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaResponse-->global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Delta.DeltaResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|photo:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.ContactItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|Content:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder.ContactFolderItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|childFolders:global.Microsoft.Graph.Me.ContactFolders.Item.ChildFolders.ChildFoldersRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|contacts:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.ContactsRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactFolder -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ContactFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactFolder -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ContactFolder; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.ContactFolderItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder.contactsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::[ContactId:string]:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactCollectionResponse -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.contactsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.ContactsRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaResponse -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaResponse-->global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaGetResponse -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Delta.DeltaResponse -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|photo:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.ContactItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|Content:global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.photoRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.Contacts.Item.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ContactFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Contacts.contactsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.contactsRequestBuilder.contactsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::[ContactId:string]:global.Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Contacts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContactCollectionResponse -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.contactsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.ContactsRequestBuilder -Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.Count.CountRequestBuilder -Microsoft.Graph.Me.Contacts.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Contacts.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Contacts.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Contacts.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Contacts.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Contacts.Delta.DeltaGetResponse -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Contacts.Delta.DeltaGetResponse -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Contacts.Delta.DeltaResponse -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Contacts.Delta.deltaResponse-->global.Microsoft.Graph.Me.Contacts.Delta.DeltaGetResponse -Microsoft.Graph.Me.Contacts.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Contacts.Delta.DeltaResponse -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder.ContactItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.Contacts.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|photo:global.Microsoft.Graph.Me.Contacts.Item.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Contact; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.Item.ContactItemRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Contacts.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder.photoRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Photo.photoRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.Item.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Contacts.Item.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder.createdObjectsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder.createdObjectsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder.createdObjectsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder.createdObjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder.createdObjectsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder.createdObjectsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder.createdObjectsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder.createdObjectsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder.createdObjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CreatedObjects.Count.CountRequestBuilder -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder::|public|graphServicePrincipal:global.Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CreatedObjects.createdObjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CreatedObjects.CreatedObjectsRequestBuilder -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|Count:global.Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.Count.CountRequestBuilder -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServicePrincipalCollectionResponse -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CreatedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder::|public|graphServicePrincipal:global.Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CreatedObjects.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServicePrincipal -Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|contentActivities:global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivitiesContainer -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ActivitiesContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivitiesContainer -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ActivitiesContainer; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::[ContentActivityId:string]:global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivityCollectionResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivity -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivity -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivity -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|activities:global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserDataSecurityAndGovernance -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserDataSecurityAndGovernance; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserDataSecurityAndGovernance -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|processContent:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|protectionScopes:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|sensitivityLabels:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.SensitivityLabelsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserDataSecurityAndGovernance; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|ContentToProcess:global.Microsoft.Graph.Models.ProcessContentRequest -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder.processContentRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProcessContentResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Activities:global.Microsoft.Graph.Models.UserActivityTypes? -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|DeviceMetadata:global.Microsoft.Graph.Models.DeviceMetadata -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|IntegratedAppMetadata:global.Microsoft.Graph.Models.IntegratedApplicationMetadata -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Locations:List -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|PivotOn:global.Microsoft.Graph.Models.PolicyPivotProperty? -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Value:List -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder.computeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsComputePostResponseAsync(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse-->global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|compute:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserProtectionScopeContainer -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserProtectionScopeContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserProtectionScopeContainer -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserProtectionScopeContainer; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabel -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ComputeRightsAndInheritanceResult -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UsageRightsIncluded -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabel -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabel -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabel -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ComputeRightsAndInheritanceResult -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UsageRightsIncluded -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabel -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabel -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabelCollectionResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabel -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabelCollectionResponse -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SensitivityLabel -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.SensitivityLabels.SensitivityLabelsRequestBuilder -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder.deviceManagementTroubleshootingEventsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder::[DeviceManagementTroubleshootingEventId:string]:global.Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceManagementTroubleshootingEventCollectionResponse -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.deviceManagementTroubleshootingEventsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder.DeviceManagementTroubleshootingEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder.DeviceManagementTroubleshootingEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder.DeviceManagementTroubleshootingEventItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder.DeviceManagementTroubleshootingEventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder.DeviceManagementTroubleshootingEventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Item.DeviceManagementTroubleshootingEventItemRequestBuilder -Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder.directReportsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder.directReportsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder.directReportsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder.directReportsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder.directReportsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder.directReportsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder.directReportsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder.directReportsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder.directReportsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DirectReports.Count.CountRequestBuilder -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder::|public|graphOrgContact:global.Microsoft.Graph.Me.DirectReports.GraphOrgContact.GraphOrgContactRequestBuilder -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder::|public|graphUser:global.Microsoft.Graph.Me.DirectReports.GraphUser.GraphUserRequestBuilder -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DirectReports.directReportsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.DirectReportsRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DirectReports.GraphOrgContact.Count.CountRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OrgContactCollectionResponse -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DirectReports.GraphOrgContact.graphOrgContactRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.GraphOrgContact.GraphOrgContactRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DirectReports.GraphUser.Count.CountRequestBuilder -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserCollectionResponse -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DirectReports.GraphUser.graphUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.GraphUser.GraphUserRequestBuilder -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder::|public|graphOrgContact:global.Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.GraphOrgContactRequestBuilder -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder::|public|graphUser:global.Microsoft.Graph.Me.DirectReports.Item.GraphUser.GraphUserRequestBuilder -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.graphOrgContactRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.graphOrgContactRequestBuilder.graphOrgContactRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.graphOrgContactRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.graphOrgContactRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.graphOrgContactRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OrgContact -Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.graphOrgContactRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.graphOrgContactRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.Item.GraphOrgContact.GraphOrgContactRequestBuilder -Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder.graphUserRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User -Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.Item.GraphUser.GraphUserRequestBuilder -Microsoft.Graph.Me.Drive.driveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Drive.driveRequestBuilder.driveRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Drive.driveRequestBuilder.driveRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Drive.driveRequestBuilder.driveRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Drive.driveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Drive.driveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Drive.driveRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Drive -Microsoft.Graph.Me.Drive.driveRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Drive.driveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Drive.DriveRequestBuilder -Microsoft.Graph.Me.Drives.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Drives.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Drives.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Drives.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Drives.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Drives.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Drives.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Drives.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Drives.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Drives.Count.CountRequestBuilder -Microsoft.Graph.Me.Drives.drivesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Drives.drivesRequestBuilder.drivesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Drives.drivesRequestBuilder.drivesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Drives.drivesRequestBuilder.drivesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Drives.drivesRequestBuilder.drivesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Drives.drivesRequestBuilder.drivesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Drives.drivesRequestBuilder.drivesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Drives.drivesRequestBuilder.drivesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Drives.drivesRequestBuilder.drivesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Drives.drivesRequestBuilder.drivesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Drives.drivesRequestBuilder::[DriveId:string]:global.Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder -Microsoft.Graph.Me.Drives.drivesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Drives.drivesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Drives.drivesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Drives.Count.CountRequestBuilder -Microsoft.Graph.Me.Drives.drivesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DriveCollectionResponse -Microsoft.Graph.Me.Drives.drivesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Drives.drivesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Drives.DrivesRequestBuilder -Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder.DriveItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder.DriveItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder.DriveItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Drive -Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Drives.Item.DriveItemRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::[EngagementRoleId:string]:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EngagementRoleCollectionResponse -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.EngagementRole; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EngagementRole -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.EngagementRole; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EngagementRole -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|members:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EngagementRole; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EngagementRole -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EngagementRole; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EngagementRoleMember -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EngagementRoleMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EngagementRoleMember -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EngagementRoleMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|user:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::[EngagementRoleMemberId:string]:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EngagementRoleMemberCollectionResponse -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.EngagementRoleMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EngagementRoleMember -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.EngagementRoleMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|assignedRoles:global.Microsoft.Graph.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EmployeeExperienceUser -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|learningCourseActivities:global.Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|learningCourseActivitiesWithExternalcourseActivityId(externalcourseActivityId:string):global.Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EmployeeExperienceUser; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EmployeeExperienceUser -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EmployeeExperienceUser; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.EmployeeExperienceRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder.LearningCourseActivityItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder.LearningCourseActivityItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder.LearningCourseActivityItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LearningCourseActivity -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder.learningCourseActivitiesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder.learningCourseActivitiesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder.learningCourseActivitiesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder.learningCourseActivitiesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder.learningCourseActivitiesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder.learningCourseActivitiesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder.learningCourseActivitiesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder.learningCourseActivitiesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder.learningCourseActivitiesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder::[LearningCourseActivityId:string]:global.Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Item.LearningCourseActivityItemRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.Count.CountRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LearningCourseActivityCollectionResponse -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.learningCourseActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; externalcourseActivityId?:string):void -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LearningCourseActivity -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder -Microsoft.Graph.Me.Events.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Events.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Events.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Count.CountRequestBuilder -Microsoft.Graph.Me.Events.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Events.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Events.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Events.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Events.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Events.Delta.DeltaResponse -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Events.Delta.deltaResponse-->global.Microsoft.Graph.Me.Events.Delta.DeltaGetResponse -Microsoft.Graph.Me.Events.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Delta.DeltaResponse -Microsoft.Graph.Me.Events.eventsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.eventsRequestBuilder.eventsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.eventsRequestBuilder::[EventId:string]:global.Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder -Microsoft.Graph.Me.Events.eventsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.eventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.eventsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Events.Count.CountRequestBuilder -Microsoft.Graph.Me.Events.eventsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Events.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Events.eventsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.Events.eventsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.Events.eventsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.eventsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.eventsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.EventsRequestBuilder -Microsoft.Graph.Me.Events.Item.Accept.acceptPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Events.Item.Accept.acceptPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Events.Item.Accept.acceptPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Events.Item.Accept.acceptPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Events.Item.Accept.acceptPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Events.Item.Accept.acceptPostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.Events.Item.Accept.acceptPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Events.Item.Accept.acceptPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Item.Accept.AcceptPostRequestBody -Microsoft.Graph.Me.Events.Item.Accept.acceptPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Events.Item.Accept.acceptRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Accept.acceptRequestBuilder.acceptRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Accept.acceptRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Accept.acceptRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Accept.acceptRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Events.Item.Accept.AcceptPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.Accept.acceptRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Events.Item.Accept.AcceptPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Accept.acceptRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Accept.AcceptRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::[AttachmentId:string]:global.Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentCollectionResponse -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AttachmentItem:global.Microsoft.Graph.Models.AttachmentItem -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Events.Item.Calendar.calendarRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.Item.Calendar.calendarRequestBuilder.calendarRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Calendar.calendarRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Calendar.calendarRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Calendar.calendarRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Calendar -Microsoft.Graph.Me.Events.Item.Calendar.calendarRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Calendar.calendarRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.Events.Item.Cancel.cancelPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Events.Item.Cancel.cancelPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Events.Item.Cancel.cancelPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Events.Item.Cancel.cancelPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Events.Item.Cancel.cancelPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Events.Item.Cancel.cancelPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Events.Item.Cancel.cancelPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Item.Cancel.CancelPostRequestBody -Microsoft.Graph.Me.Events.Item.Cancel.cancelPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Events.Item.Cancel.cancelRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Cancel.cancelRequestBuilder.cancelRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Cancel.cancelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Cancel.cancelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Cancel.cancelRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Events.Item.Cancel.CancelPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.Cancel.cancelRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Events.Item.Cancel.CancelPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Cancel.cancelRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Cancel.CancelRequestBuilder -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody::|public|ProposedNewTime:global.Microsoft.Graph.Models.TimeSlot -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Item.Decline.DeclinePostRequestBody -Microsoft.Graph.Me.Events.Item.Decline.declinePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Events.Item.Decline.declineRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Decline.declineRequestBuilder.declineRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Decline.declineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Decline.declineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Decline.declineRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Events.Item.Decline.DeclinePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.Decline.declineRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Events.Item.Decline.DeclinePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Decline.declineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Decline.DeclineRequestBuilder -Microsoft.Graph.Me.Events.Item.DismissReminder.dismissReminderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.DismissReminder.dismissReminderRequestBuilder.dismissReminderRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.DismissReminder.dismissReminderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.DismissReminder.DismissReminderRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder.EventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|accept:global.Microsoft.Graph.Me.Events.Item.Accept.AcceptRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Me.Events.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|calendar:global.Microsoft.Graph.Me.Events.Item.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|cancel:global.Microsoft.Graph.Me.Events.Item.Cancel.CancelRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|decline:global.Microsoft.Graph.Me.Events.Item.Decline.DeclineRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|dismissReminder:global.Microsoft.Graph.Me.Events.Item.DismissReminder.DismissReminderRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.Events.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|forward:global.Microsoft.Graph.Me.Events.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|instances:global.Microsoft.Graph.Me.Events.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Event -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|snoozeReminder:global.Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|tentativelyAccept:global.Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Event; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.EventItemRequestBuilder -Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Events.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Events.Item.Forward.forwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Events.Item.Forward.forwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Events.Item.Forward.forwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Events.Item.Forward.forwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Events.Item.Forward.forwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Events.Item.Forward.forwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Events.Item.Forward.forwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.Events.Item.Forward.forwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Item.Forward.ForwardPostRequestBody -Microsoft.Graph.Me.Events.Item.Forward.forwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Events.Item.Forward.forwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Forward.forwardRequestBuilder.forwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Forward.forwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Forward.forwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Forward.forwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Events.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.Forward.forwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Events.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Forward.forwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaResponse -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaResponse-->global.Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaGetResponse -Microsoft.Graph.Me.Events.Item.Instances.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaResponse -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|EndDateTime:string -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|StartDateTime:string -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Events.Item.Instances.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EventCollectionResponse -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.Instances.instancesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.Events.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|NewReminderTime:global.Microsoft.Graph.Models.DateTimeTimeZone -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder.snoozeReminderRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.SnoozeReminder.snoozeReminderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.SnoozeReminder.SnoozeReminderRequestBuilder -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|ProposedNewTime:global.Microsoft.Graph.Models.TimeSlot -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|SendResponse:bool? -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder.tentativelyAcceptRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Events.Item.TentativelyAccept.tentativelyAcceptRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Events.Item.TentativelyAccept.TentativelyAcceptRequestBuilder -Microsoft.Graph.Me.ExportDeviceAndAppManagementData.exportDeviceAndAppManagementDataRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ExportDeviceAndAppManagementData.exportDeviceAndAppManagementDataRequestBuilder.exportDeviceAndAppManagementDataRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ExportDeviceAndAppManagementData.exportDeviceAndAppManagementDataRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ExportDeviceAndAppManagementData.exportDeviceAndAppManagementDataRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ExportDeviceAndAppManagementData.exportDeviceAndAppManagementDataRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceAndAppManagementData -Microsoft.Graph.Me.ExportDeviceAndAppManagementData.exportDeviceAndAppManagementDataRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ExportDeviceAndAppManagementData.exportDeviceAndAppManagementDataRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ExportDeviceAndAppManagementData.ExportDeviceAndAppManagementDataRequestBuilder -Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; skip?:int?; top?:int?):void -Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceAndAppManagementData -Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataPostRequestBody::|public|StorageLocation:string -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataPostRequestBody -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataRequestBuilder.exportPersonalDataRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ExportPersonalData.exportPersonalDataRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataRequestBuilder -Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|Attendees:List -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|IsOrganizerOptional:bool? -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|LocationConstraint:global.Microsoft.Graph.Models.LocationConstraint -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|MaxCandidates:int? -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|MeetingDuration:TimeSpan? -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|MinimumAttendeePercentage:double? -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|ReturnSuggestionReasons:bool? -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|public|TimeConstraint:global.Microsoft.Graph.Models.TimeConstraint -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesPostRequestBody -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesRequestBuilder.findMeetingTimesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MeetingTimeSuggestionsResult -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.FindMeetingTimes.findMeetingTimesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesRequestBuilder -Microsoft.Graph.Me.FollowedSites.Add.addPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.FollowedSites.Add.addPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.FollowedSites.Add.addPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.FollowedSites.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.FollowedSites.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.FollowedSites.Add.addPostRequestBody::|public|Value:List -Microsoft.Graph.Me.FollowedSites.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.FollowedSites.Add.AddPostRequestBody -Microsoft.Graph.Me.FollowedSites.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.FollowedSites.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.FollowedSites.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.FollowedSites.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.FollowedSites.Add.addPostResponse::|public|Value:List -Microsoft.Graph.Me.FollowedSites.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.FollowedSites.Add.AddPostResponse -Microsoft.Graph.Me.FollowedSites.Add.addRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.FollowedSites.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.FollowedSites.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Me.FollowedSites.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.FollowedSites.Add.AddPostResponse -Microsoft.Graph.Me.FollowedSites.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.FollowedSites.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.FollowedSites.Add.AddResponse -Microsoft.Graph.Me.FollowedSites.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.FollowedSites.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.FollowedSites.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.FollowedSites.Add.AddRequestBuilder -Microsoft.Graph.Me.FollowedSites.Add.addResponse-->global.Microsoft.Graph.Me.FollowedSites.Add.AddPostResponse -Microsoft.Graph.Me.FollowedSites.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.FollowedSites.Add.AddResponse -Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder.followedSitesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder.followedSitesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder.followedSitesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder.followedSitesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder.followedSitesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder.followedSitesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder.followedSitesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder.followedSitesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder.followedSitesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder::[SiteId:string]:global.Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder::|public|add:global.Microsoft.Graph.Me.FollowedSites.Add.AddRequestBuilder -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.FollowedSites.Count.CountRequestBuilder -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SiteCollectionResponse -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder::|public|remove:global.Microsoft.Graph.Me.FollowedSites.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.FollowedSites.followedSitesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.FollowedSites.FollowedSitesRequestBuilder -Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder.SiteItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder.SiteItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder.SiteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Site -Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.FollowedSites.Item.SiteItemRequestBuilder -Microsoft.Graph.Me.FollowedSites.Remove.removePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.FollowedSites.Remove.removePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.FollowedSites.Remove.removePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.FollowedSites.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.FollowedSites.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.FollowedSites.Remove.removePostRequestBody::|public|Value:List -Microsoft.Graph.Me.FollowedSites.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.FollowedSites.Remove.RemovePostRequestBody -Microsoft.Graph.Me.FollowedSites.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.FollowedSites.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.FollowedSites.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.FollowedSites.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.FollowedSites.Remove.removePostResponse::|public|Value:List -Microsoft.Graph.Me.FollowedSites.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.FollowedSites.Remove.RemovePostResponse -Microsoft.Graph.Me.FollowedSites.Remove.removeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.FollowedSites.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.FollowedSites.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.FollowedSites.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.FollowedSites.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.FollowedSites.Remove.RemovePostResponse -Microsoft.Graph.Me.FollowedSites.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.FollowedSites.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.FollowedSites.Remove.RemoveResponse -Microsoft.Graph.Me.FollowedSites.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.FollowedSites.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.FollowedSites.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.FollowedSites.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.FollowedSites.Remove.removeResponse-->global.Microsoft.Graph.Me.FollowedSites.Remove.RemovePostResponse -Microsoft.Graph.Me.FollowedSites.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.FollowedSites.Remove.RemoveResponse -Microsoft.Graph.Me.GetMailTips.getMailTipsPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.GetMailTips.getMailTipsPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.GetMailTips.getMailTipsPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.GetMailTips.getMailTipsPostRequestBody::|public|EmailAddresses:List -Microsoft.Graph.Me.GetMailTips.getMailTipsPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.GetMailTips.getMailTipsPostRequestBody::|public|MailTipsOptions:global.Microsoft.Graph.Models.MailTipsType? -Microsoft.Graph.Me.GetMailTips.getMailTipsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.GetMailTips.getMailTipsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody -Microsoft.Graph.Me.GetMailTips.getMailTipsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.GetMailTips.getMailTipsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.GetMailTips.getMailTipsPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.GetMailTips.getMailTipsPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.GetMailTips.getMailTipsPostResponse::|public|Value:List -Microsoft.Graph.Me.GetMailTips.getMailTipsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetMailTips.GetMailTipsPostResponse -Microsoft.Graph.Me.GetMailTips.getMailTipsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.GetMailTips.getMailTipsRequestBuilder.getMailTipsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.GetMailTips.getMailTipsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetMailTips.getMailTipsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetMailTips.getMailTipsRequestBuilder::|public|PostAsGetMailTipsPostResponseAsync(body:global.Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetMailTips.GetMailTipsPostResponse -Microsoft.Graph.Me.GetMailTips.getMailTipsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetMailTips.GetMailTipsResponse -Microsoft.Graph.Me.GetMailTips.getMailTipsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.GetMailTips.GetMailTipsPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.GetMailTips.getMailTipsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.GetMailTips.GetMailTipsRequestBuilder -Microsoft.Graph.Me.GetMailTips.getMailTipsResponse-->global.Microsoft.Graph.Me.GetMailTips.GetMailTipsPostResponse -Microsoft.Graph.Me.GetMailTips.getMailTipsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetMailTips.GetMailTipsResponse -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesGetResponse::|public|Value:List -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesGetResponse -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder.getManagedAppDiagnosticStatusesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder.getManagedAppDiagnosticStatusesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder.getManagedAppDiagnosticStatusesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder.getManagedAppDiagnosticStatusesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder.getManagedAppDiagnosticStatusesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder.getManagedAppDiagnosticStatusesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder::|public|GetAsGetManagedAppDiagnosticStatusesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesGetResponse -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesResponse -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesRequestBuilder -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesResponse-->global.Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesGetResponse -Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.getManagedAppDiagnosticStatusesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesResponse -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesGetResponse::|public|Value:List -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesGetResponse -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder.getManagedAppPoliciesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder.getManagedAppPoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder.getManagedAppPoliciesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder.getManagedAppPoliciesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder.getManagedAppPoliciesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder.getManagedAppPoliciesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder.getManagedAppPoliciesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder.getManagedAppPoliciesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder.getManagedAppPoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder::|public|GetAsGetManagedAppPoliciesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesGetResponse -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesResponse -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesRequestBuilder -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesResponse-->global.Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesGetResponse -Microsoft.Graph.Me.GetManagedAppPolicies.getManagedAppPoliciesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesResponse -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresGetResponse::|public|Value:List -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresGetResponse -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder.getManagedDevicesWithAppFailuresRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder.getManagedDevicesWithAppFailuresRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder.getManagedDevicesWithAppFailuresRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder.getManagedDevicesWithAppFailuresRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder.getManagedDevicesWithAppFailuresRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder.getManagedDevicesWithAppFailuresRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder::|public|GetAsGetManagedDevicesWithAppFailuresGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresGetResponse -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresResponse -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresRequestBuilder -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresResponse-->global.Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresGetResponse -Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.getManagedDevicesWithAppFailuresResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresResponse -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostRequestBody::|public|SecurityEnabledOnly:bool? -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostResponse::|public|Value:List -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostResponse -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsRequestBuilder.getMemberGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsRequestBuilder::|public|PostAsGetMemberGroupsPostResponseAsync(body:global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostResponse -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsResponse -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsRequestBuilder -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsResponse-->global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsPostResponse -Microsoft.Graph.Me.GetMemberGroups.getMemberGroupsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsResponse -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostRequestBody::|public|SecurityEnabledOnly:bool? -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostResponse::|public|Value:List -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostResponse -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsRequestBuilder.getMemberObjectsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsRequestBuilder::|public|PostAsGetMemberObjectsPostResponseAsync(body:global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostResponse -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsResponse -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsRequestBuilder -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsResponse-->global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostResponse -Microsoft.Graph.Me.GetMemberObjects.getMemberObjectsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsResponse -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder.inferenceClassificationRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder.inferenceClassificationRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder.inferenceClassificationRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder.inferenceClassificationRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.InferenceClassification -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder::|public|overrides:global.Microsoft.Graph.Me.InferenceClassification.Overrides.OverridesRequestBuilder -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.InferenceClassification; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.InferenceClassification -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.InferenceClassification; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.InferenceClassification.inferenceClassificationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.InferenceClassification.InferenceClassificationRequestBuilder -Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder.InferenceClassificationOverrideItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder.InferenceClassificationOverrideItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder.InferenceClassificationOverrideItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder.InferenceClassificationOverrideItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder.InferenceClassificationOverrideItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.InferenceClassificationOverride -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.InferenceClassificationOverride; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.InferenceClassificationOverride -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.InferenceClassificationOverride; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder.overridesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder::[InferenceClassificationOverrideId:string]:global.Microsoft.Graph.Me.InferenceClassification.Overrides.Item.InferenceClassificationOverrideItemRequestBuilder -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.InferenceClassification.Overrides.Count.CountRequestBuilder -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.InferenceClassificationOverrideCollectionResponse -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.InferenceClassificationOverride; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.InferenceClassificationOverride -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.InferenceClassificationOverride; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.InferenceClassification.Overrides.overridesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.InferenceClassification.Overrides.OverridesRequestBuilder -Microsoft.Graph.Me.Insights.insightsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.insightsRequestBuilder.insightsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.insightsRequestBuilder.insightsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.insightsRequestBuilder.insightsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.insightsRequestBuilder.insightsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.insightsRequestBuilder.insightsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ItemInsights -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ItemInsights; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ItemInsights -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|shared:global.Microsoft.Graph.Me.Insights.Shared.SharedRequestBuilder -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ItemInsights; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|trending:global.Microsoft.Graph.Me.Insights.Trending.TrendingRequestBuilder -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|used:global.Microsoft.Graph.Me.Insights.Used.UsedRequestBuilder -Microsoft.Graph.Me.Insights.insightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.InsightsRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.lastSharedMethodRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.lastSharedMethodRequestBuilder.lastSharedMethodRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.lastSharedMethodRequestBuilder.lastSharedMethodRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.lastSharedMethodRequestBuilder.lastSharedMethodRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.lastSharedMethodRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.lastSharedMethodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.lastSharedMethodRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Entity -Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.lastSharedMethodRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.lastSharedMethodRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Item.Resource.resourceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Item.Resource.resourceRequestBuilder.resourceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Shared.Item.Resource.resourceRequestBuilder.resourceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Shared.Item.Resource.resourceRequestBuilder.resourceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Shared.Item.Resource.resourceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.Item.Resource.resourceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.Item.Resource.resourceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Entity -Microsoft.Graph.Me.Insights.Shared.Item.Resource.resourceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Shared.Item.Resource.resourceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder.SharedInsightItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder.SharedInsightItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder.SharedInsightItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder.SharedInsightItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder.SharedInsightItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedInsight -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|lastSharedMethod:global.Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharedInsight; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedInsight -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|resource:global.Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharedInsight; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder.sharedRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder::[SharedInsightId:string]:global.Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedInsightCollectionResponse -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharedInsight; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedInsight -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharedInsight; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Shared.sharedRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Shared.SharedRequestBuilder -Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder -Microsoft.Graph.Me.Insights.Trending.Item.Resource.resourceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Trending.Item.Resource.resourceRequestBuilder.resourceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Trending.Item.Resource.resourceRequestBuilder.resourceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Trending.Item.Resource.resourceRequestBuilder.resourceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Trending.Item.Resource.resourceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Trending.Item.Resource.resourceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Trending.Item.Resource.resourceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Entity -Microsoft.Graph.Me.Insights.Trending.Item.Resource.resourceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Trending.Item.Resource.resourceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Trending.Item.Resource.ResourceRequestBuilder -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder.TrendingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder.TrendingItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder.TrendingItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder.TrendingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder.TrendingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Trending -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Trending; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Trending -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|resource:global.Microsoft.Graph.Me.Insights.Trending.Item.Resource.ResourceRequestBuilder -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Trending; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder.trendingRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder::[TrendingId:string]:global.Microsoft.Graph.Me.Insights.Trending.Item.TrendingItemRequestBuilder -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Insights.Trending.Count.CountRequestBuilder -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TrendingCollectionResponse -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Trending; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Trending -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Trending; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Trending.trendingRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Trending.TrendingRequestBuilder -Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder -Microsoft.Graph.Me.Insights.Used.Item.Resource.resourceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Used.Item.Resource.resourceRequestBuilder.resourceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Used.Item.Resource.resourceRequestBuilder.resourceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Used.Item.Resource.resourceRequestBuilder.resourceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Used.Item.Resource.resourceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Used.Item.Resource.resourceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Used.Item.Resource.resourceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Entity -Microsoft.Graph.Me.Insights.Used.Item.Resource.resourceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Used.Item.Resource.resourceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder.UsedInsightItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder.UsedInsightItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder.UsedInsightItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder.UsedInsightItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder.UsedInsightItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UsedInsight -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UsedInsight; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UsedInsight -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|resource:global.Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UsedInsight; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder.usedRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder::[UsedInsightId:string]:global.Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UsedInsightCollectionResponse -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.UsedInsight; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UsedInsight -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.UsedInsight; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Insights.Used.usedRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Insights.Used.UsedRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesGetResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesGetResponse -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Model:string -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder::|public|GetAsGetAllMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesGetResponse -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesResponse -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesResponse-->global.Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesGetResponse -Microsoft.Graph.Me.JoinedTeams.GetAllMessages.getAllMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesResponse -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder.allChannelsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder.allChannelsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder.allChannelsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder.allChannelsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder.allChannelsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder.allChannelsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder.allChannelsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder.allChannelsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder.allChannelsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder::[ChannelId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChannelCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.allChannelsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.AllChannelsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.Item.ChannelItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archivePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archivePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archivePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archivePostRequestBody::|public|ShouldSetSpoSiteReadOnlyForMembers:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archivePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchivePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archivePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archiveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archiveRequestBuilder.archiveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archiveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchivePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archiveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchivePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Archive.archiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder.channelsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::[ChannelId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|getAllMessages:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|getAllRetainedMessages:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChannelCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Channel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Channel; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.channelsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.ChannelsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesGetResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Model:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder.getAllMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder::|public|GetAsGetAllMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.getAllMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllMessages.GetAllMessagesResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesGetResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder.getAllRetainedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|GetAsGetAllRetainedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|ShouldSetSpoSiteReadOnlyForMembers:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchivePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archiveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archiveRequestBuilder.archiveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archiveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchivePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archiveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchivePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|allMembers:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|archive:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|messages:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Channel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.TabsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Channel; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|unarchive:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.UnarchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.completeMigrationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.completeMigrationRequestBuilder.completeMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.completeMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.completeMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.completeMigrationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.completeMigrationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.completeMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|Value:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters::|public|TenantId:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters::|public|UserId:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters::|public|UserPrincipalName:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DriveItem -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder.filesFolderRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder.filesFolderRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder.filesFolderRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|content:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DriveItem -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|add:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::[ChatMessageId1:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProvisionChannelEmailResult -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.removeEmailRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.removeEmailRequestBuilder.removeEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.removeEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.removeEmailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.removeEmailRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.removeEmailRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.removeEmailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|allowedMembers:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedWithChannelTeamInfo -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedWithChannelTeamInfo -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|team:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.TeamRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.teamRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.teamRequestBuilder.teamRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.teamRequestBuilder.teamRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.teamRequestBuilder.teamRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.teamRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.teamRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.teamRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.teamRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.teamRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.Team.TeamRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::[SharedWithChannelTeamInfoId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedWithChannelTeamInfoCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedWithChannelTeamInfo -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTab -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTab -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|teamsApp:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder.tabsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder::[TeamsTabId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Item.TeamsTabItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTabCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTab -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Tabs.TabsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.unarchiveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.unarchiveRequestBuilder.unarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Unarchive.UnarchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|Classification:string -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|Description:string -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|DisplayName:string -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|MailNickname:string -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|PartsToClone:global.Microsoft.Graph.Models.ClonableTeamParts? -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|public|Visibility:global.Microsoft.Graph.Models.TeamVisibilityType? -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Clone.ClonePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Clone.clonePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Clone.cloneRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Clone.cloneRequestBuilder.cloneRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Clone.cloneRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Clone.cloneRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Clone.cloneRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Clone.ClonePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Clone.cloneRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Clone.ClonePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Clone.cloneRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Clone.CloneRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.completeMigrationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.completeMigrationRequestBuilder.completeMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.completeMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.completeMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.completeMigrationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.completeMigrationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.completeMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.CompleteMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder.groupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder.groupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder.groupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Group -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Group.groupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Group.GroupRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Group.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder.incomingChannelsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder.incomingChannelsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder.incomingChannelsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder.incomingChannelsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder.incomingChannelsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder.incomingChannelsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder.incomingChannelsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder.incomingChannelsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder.incomingChannelsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder::[ChannelId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChannelCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.incomingChannelsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.IncomingChannelsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.Item.ChannelItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder::[TeamsAppInstallationId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppInstallationCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamsAppInstallation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppInstallation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsAppInstallation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.installedAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.InstalledAppsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder.teamsAppDefinitionRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder.teamsAppDefinitionRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder.teamsAppDefinitionRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppDefinition -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder.TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppInstallation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsAppInstallation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppInstallation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|teamsApp:global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|teamsAppDefinition:global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsAppInstallation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|upgrade:global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.TeamsAppInstallationItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|ConsentedPermissionSet:global.Microsoft.Graph.Models.TeamsAppPermissionSet -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder.upgradeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.upgradeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.Item.Upgrade.UpgradeRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|add:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder.TeamsAsyncOperationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder.TeamsAsyncOperationItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder.TeamsAsyncOperationItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder.TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder.TeamsAsyncOperationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAsyncOperation -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsAsyncOperation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAsyncOperation -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsAsyncOperation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder.operationsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder::[TeamsAsyncOperationId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Operations.Item.TeamsAsyncOperationItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAsyncOperationCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamsAsyncOperation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAsyncOperation -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsAsyncOperation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Operations.operationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Operations.OperationsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder::[ResourceSpecificPermissionGrantId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrantCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.permissionGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.PermissionGrantsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder.photoRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder.photoRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder::|public|Content:global.Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Photo.photoRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|ShouldSetSpoSiteReadOnlyForMembers:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchivePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archiveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archiveRequestBuilder.archiveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archiveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchivePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archiveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchivePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.completeMigrationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.completeMigrationRequestBuilder.completeMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.completeMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.completeMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.completeMigrationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.completeMigrationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.completeMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|public|Value:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters::|public|TenantId:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters::|public|UserId:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters::|public|UserPrincipalName:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DriveItem -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder.filesFolderRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder.filesFolderRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder.filesFolderRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|content:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DriveItem -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddPostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|add:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add.AddRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Values:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaGetResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::[ChatMessageId1:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SoftDelete.SoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.ChatMessageItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|allMembers:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|archive:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|members:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|messages:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Channel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|startMigration:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|tabs:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.TabsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Channel; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|unarchive:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.PrimaryChannelRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.provisionEmailRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProvisionChannelEmailResult -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.provisionEmailRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.provisionEmailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.removeEmailRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.removeEmailRequestBuilder.removeEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.removeEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.removeEmailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.removeEmailRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.removeEmailRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.removeEmailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder.allowedMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.allowedMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item.ConversationMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder.SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|allowedMembers:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.AllowedMembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedWithChannelTeamInfo -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedWithChannelTeamInfo -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|team:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.TeamRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.teamRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.teamRequestBuilder.teamRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.teamRequestBuilder.teamRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.teamRequestBuilder.teamRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.teamRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.teamRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.teamRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.teamRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.teamRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.Team.TeamRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder.sharedWithTeamsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::[SharedWithChannelTeamInfoId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Item.SharedWithChannelTeamInfoItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedWithChannelTeamInfoCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharedWithChannelTeamInfo -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.teamsAppRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.teamsAppRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTab -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTab -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|teamsApp:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder.tabsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder::[TeamsTabId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Item.TeamsTabItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTabCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTab -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Tabs.TabsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder.unarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::[DayNoteId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNoteCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder.OfferShiftRequestItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder.OfferShiftRequestItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder.OfferShiftRequestItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder.OfferShiftRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder.OfferShiftRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OfferShiftRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OfferShiftRequest; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OfferShiftRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OfferShiftRequest; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder.offerShiftRequestsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder::[OfferShiftRequestId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Item.OfferShiftRequestItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OfferShiftRequestCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OfferShiftRequest; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OfferShiftRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OfferShiftRequest; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.offerShiftRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder.OpenShiftChangeRequestItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder.OpenShiftChangeRequestItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder.OpenShiftChangeRequestItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder.OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder.OpenShiftChangeRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OpenShiftChangeRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OpenShiftChangeRequest; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OpenShiftChangeRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OpenShiftChangeRequest; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder.openShiftChangeRequestsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder::[OpenShiftChangeRequestId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Item.OpenShiftChangeRequestItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OpenShiftChangeRequestCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OpenShiftChangeRequest; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OpenShiftChangeRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OpenShiftChangeRequest; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.openShiftChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.OpenShiftChangeRequestsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder.OpenShiftItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder.OpenShiftItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder.OpenShiftItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder.OpenShiftItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder.OpenShiftItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OpenShift -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OpenShift; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OpenShift -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OpenShift; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder.openShiftsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder::[OpenShiftId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Item.OpenShiftItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OpenShiftCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OpenShift; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OpenShift -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OpenShift; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.openShiftsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.OpenShiftsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|dayNotes:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|offerShiftRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|openShiftChangeRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests.OpenShiftChangeRequestsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|openShifts:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts.OpenShiftsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.Schedule; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|schedulingGroups:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.SchedulingGroupsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|share:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|shifts:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|swapShiftsChangeRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeCards:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffReasons:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timesOff:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.Schedule; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.ScheduleRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder.SchedulingGroupItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder.SchedulingGroupItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder.SchedulingGroupItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder.SchedulingGroupItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder.SchedulingGroupItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SchedulingGroup -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SchedulingGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SchedulingGroup -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SchedulingGroup; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder.schedulingGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder::[SchedulingGroupId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Item.SchedulingGroupItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SchedulingGroupCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SchedulingGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SchedulingGroup -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SchedulingGroup; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.schedulingGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SchedulingGroups.SchedulingGroupsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody::|public|EndDateTime:DateTimeOffset? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody::|public|NotifyTeam:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody::|public|StartDateTime:DateTimeOffset? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.SharePostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.sharePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.shareRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.shareRequestBuilder.shareRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.shareRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.shareRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.shareRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.SharePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.shareRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.SharePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.shareRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder.ShiftItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder.ShiftItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder.ShiftItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder.ShiftItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder.ShiftItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Shift -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Shift; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Shift -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Shift; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder.shiftsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder::[ShiftId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Item.ShiftItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ShiftCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Shift; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Shift -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Shift; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.shiftsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder.SwapShiftsChangeRequestItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder.SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder.SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder.SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder.SwapShiftsChangeRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SwapShiftsChangeRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SwapShiftsChangeRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder.swapShiftsChangeRequestsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::[SwapShiftsChangeRequestId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Item.SwapShiftsChangeRequestItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SwapShiftsChangeRequestCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SwapShiftsChangeRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|IsAtApprovedLocation:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|OnBehalfOfUserId:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder.clockInRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|IsAtApprovedLocation:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder.clockOutRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder.confirmRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|IsAtApprovedLocation:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder.endBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|IsAtApprovedLocation:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder.startBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|endBreak:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|startBreak:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::[TimeCardId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|clockIn:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCardCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder.TimeOffReasonItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder.TimeOffReasonItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder.TimeOffReasonItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder.TimeOffReasonItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder.TimeOffReasonItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOffReason -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeOffReason; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOffReason -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeOffReason; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder.timeOffReasonsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder::[TimeOffReasonId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Item.TimeOffReasonItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOffReasonCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeOffReason; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOffReason -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeOffReason; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.timeOffReasonsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder.TimeOffRequestItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder.TimeOffRequestItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder.TimeOffRequestItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder.TimeOffRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder.TimeOffRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOffRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeOffRequest; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOffRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeOffRequest; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder.timeOffRequestsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder::[TimeOffRequestId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Item.TimeOffRequestItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOffRequestCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeOffRequest; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOffRequest -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeOffRequest; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.timeOffRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder.TimeOffItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder.TimeOffItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder.TimeOffItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder.TimeOffItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder.TimeOffItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOff -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeOff; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOff -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeOff; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder.timesOffRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder::[TimeOffId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Item.TimeOffItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOffCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeOff; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeOff -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeOff; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.timesOffRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ActivityType:string -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Recipient:global.Microsoft.Graph.Models.TeamworkNotificationRecipient -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|TeamsAppId:string -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|TemplateParameters:List -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Topic:global.Microsoft.Graph.Models.TeamworkActivityTopic -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationPostRequestBody -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationRequestBuilder.sendActivityNotificationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder.TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder.TeamworkTagMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder.TeamworkTagMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder.TeamworkTagMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder.TeamworkTagMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamworkTagMember -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamworkTagMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamworkTagMember -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamworkTagMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder::[TeamworkTagMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Item.TeamworkTagMemberItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamworkTagMemberCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamworkTagMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamworkTagMember -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamworkTagMember; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder.TeamworkTagItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder.TeamworkTagItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder.TeamworkTagItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder.TeamworkTagItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder.TeamworkTagItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamworkTag -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|members:global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamworkTag; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamworkTag -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamworkTag; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder.tagsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder::[TeamworkTagId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Item.TeamworkTagItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamworkTagCollectionResponse -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamworkTag; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamworkTag -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamworkTag; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Tags.tagsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.TagsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder.TeamItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder.TeamItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder.TeamItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder.TeamItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder.TeamItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|allChannels:global.Microsoft.Graph.Me.JoinedTeams.Item.AllChannels.AllChannelsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|archive:global.Microsoft.Graph.Me.JoinedTeams.Item.Archive.ArchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|channels:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.ChannelsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|clone:global.Microsoft.Graph.Me.JoinedTeams.Item.Clone.CloneRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Me.JoinedTeams.Item.CompleteMigration.CompleteMigrationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|group:global.Microsoft.Graph.Me.JoinedTeams.Item.Group.GroupRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|incomingChannels:global.Microsoft.Graph.Me.JoinedTeams.Item.IncomingChannels.IncomingChannelsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|installedApps:global.Microsoft.Graph.Me.JoinedTeams.Item.InstalledApps.InstalledAppsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|members:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.MembersRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|operations:global.Microsoft.Graph.Me.JoinedTeams.Item.Operations.OperationsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Team; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|permissionGrants:global.Microsoft.Graph.Me.JoinedTeams.Item.PermissionGrants.PermissionGrantsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|photo:global.Microsoft.Graph.Me.JoinedTeams.Item.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|primaryChannel:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.PrimaryChannelRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|schedule:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.ScheduleRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.SendActivityNotificationRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|tags:global.Microsoft.Graph.Me.JoinedTeams.Item.Tags.TagsRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|template:global.Microsoft.Graph.Me.JoinedTeams.Item.Template.TemplateRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Team; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|unarchive:global.Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.UnarchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Template.templateRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Template.templateRequestBuilder.templateRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Template.templateRequestBuilder.templateRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.Item.Template.templateRequestBuilder.templateRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Template.templateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Template.templateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Template.templateRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsTemplate -Microsoft.Graph.Me.JoinedTeams.Item.Template.templateRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Template.templateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Template.TemplateRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.unarchiveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.unarchiveRequestBuilder.unarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Unarchive.UnarchiveRequestBuilder -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder.joinedTeamsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::[TeamId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.TeamItemRequestBuilder -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Count.CountRequestBuilder -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::|public|getAllMessages:global.Microsoft.Graph.Me.JoinedTeams.GetAllMessages.GetAllMessagesRequestBuilder -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamCollectionResponse -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Team; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Team; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.JoinedTeams.joinedTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.JoinedTeamsRequestBuilder -Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder -Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.getTeamsLicensingDetailsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.getTeamsLicensingDetailsRequestBuilder.getTeamsLicensingDetailsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.getTeamsLicensingDetailsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.getTeamsLicensingDetailsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.getTeamsLicensingDetailsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsLicensingDetails -Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.getTeamsLicensingDetailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.getTeamsLicensingDetailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.GetTeamsLicensingDetailsRequestBuilder -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder.LicenseDetailsItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder.LicenseDetailsItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder.LicenseDetailsItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder.LicenseDetailsItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder.LicenseDetailsItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LicenseDetails -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.LicenseDetails; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LicenseDetails -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.LicenseDetails; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder.licenseDetailsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::[LicenseDetailsId:string]:global.Microsoft.Graph.Me.LicenseDetails.Item.LicenseDetailsItemRequestBuilder -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.LicenseDetails.Count.CountRequestBuilder -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LicenseDetailsCollectionResponse -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|getTeamsLicensingDetails:global.Microsoft.Graph.Me.LicenseDetails.GetTeamsLicensingDetails.GetTeamsLicensingDetailsRequestBuilder -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.LicenseDetails; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LicenseDetails -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.LicenseDetails; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.LicenseDetails.LicenseDetailsRequestBuilder -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailboxSettings.MailboxSettingsRequestBuilder -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|IncludeHiddenFolders:string -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.MailFolders.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.MailFolders.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.MailFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.MailFolders.Delta.DeltaResponse -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.MailFolders.Delta.deltaResponse-->global.Microsoft.Graph.Me.MailFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Delta.DeltaResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|IncludeHiddenFolders:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::[MailFolderId1:string]:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|delta:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolderCollectionResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MailFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MailFolder; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.childFoldersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.ChildFoldersRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|IncludeHiddenFolders:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaResponse-->global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyPostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder.copyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|IncludeHiddenFolders:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailFolder; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageRule -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MessageRule; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageRule -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MessageRule; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder::[MessageRuleId:string]:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageRuleCollectionResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MessageRule; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageRule -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MessageRule; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.messageRulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|ChangeType:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaResponse-->global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::[AttachmentId:string]:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentCollectionResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AttachmentItem:global.Microsoft.Graph.Models.AttachmentItem -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyRequestBuilder.copyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder.createForwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder.createReplyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder.createReplyAllRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardRequestBuilder.forwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|copy:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|createForward:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|createReply:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|createReplyAll:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|forward:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|move:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reply:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|replyAll:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|send:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.movePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.movePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.movePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.movePostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.movePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.movePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.movePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MovePostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.movePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.moveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.moveRequestBuilder.moveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyRequestBuilder.replyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder.replyAllRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder.sendRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::[MessageId:string]:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageCollectionResponse -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.movePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.movePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.movePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.movePostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.movePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.movePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.movePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.movePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder.moveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Copy.copyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Copy.copyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Copy.copyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Copy.copyPostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.MailFolders.Item.Copy.copyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Copy.copyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Copy.copyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Copy.CopyPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Copy.copyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder.copyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|childFolders:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.ChildFoldersRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Me.MailFolders.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Me.MailFolders.Item.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Me.MailFolders.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailFolder; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder.MessageRuleItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageRule -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MessageRule; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageRule -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MessageRule; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder.messageRulesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder::[MessageRuleId:string]:global.Microsoft.Graph.Me.MailFolders.Item.MessageRules.Item.MessageRuleItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageRuleCollectionResponse -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MessageRule; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageRule -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MessageRule; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.MessageRules.messageRulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|ChangeType:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaResponse-->global.Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::[AttachmentId:string]:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentCollectionResponse -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AttachmentItem:global.Microsoft.Graph.Models.AttachmentItem -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyRequestBuilder.copyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder.createForwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.createForwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder.createReplyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.createReplyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder.createReplyAllRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardRequestBuilder.forwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.forwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|copy:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|createForward:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateForward.CreateForwardRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|createReply:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReply.CreateReplyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|createReplyAll:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|forward:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|move:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reply:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|replyAll:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|send:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.SendRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.movePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.movePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.movePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.movePostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.movePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.movePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.movePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MovePostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.movePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.moveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.moveRequestBuilder.moveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.moveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyRequestBuilder.replyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.replyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder.replyAllRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder.sendRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.SendRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::[MessageId:string]:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageCollectionResponse -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Move.movePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.MailFolders.Item.Move.movePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.MailFolders.Item.Move.movePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.MailFolders.Item.Move.movePostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.MailFolders.Item.Move.movePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.MailFolders.Item.Move.movePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.MailFolders.Item.Move.movePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Move.MovePostRequestBody -Microsoft.Graph.Me.MailFolders.Item.Move.movePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.MailFolders.Item.Move.moveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.Move.moveRequestBuilder.moveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.Move.moveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Move.moveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.Move.moveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.Item.Move.moveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.Move.moveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetQueryParameters::|public|IncludeHiddenFolders:string -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder.mailFoldersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::[MailFolderId:string]:global.Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MailFolders.Count.CountRequestBuilder -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::|public|delta:global.Microsoft.Graph.Me.MailFolders.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolderCollectionResponse -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MailFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MailFolder; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MailFolders.mailFoldersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.MailFoldersRequestBuilder -Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder.ManagedAppRegistrationItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder.ManagedAppRegistrationItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder.ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ManagedAppRegistration -Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder.managedAppRegistrationsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder.managedAppRegistrationsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder.managedAppRegistrationsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder.managedAppRegistrationsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder.managedAppRegistrationsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder.managedAppRegistrationsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder.managedAppRegistrationsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder.managedAppRegistrationsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder.managedAppRegistrationsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder::[ManagedAppRegistrationId:string]:global.Microsoft.Graph.Me.ManagedAppRegistrations.Item.ManagedAppRegistrationItemRequestBuilder -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ManagedAppRegistrations.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ManagedAppRegistrationCollectionResponse -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedAppRegistrations.managedAppRegistrationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.bypassActivationLockRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.bypassActivationLockRequestBuilder.bypassActivationLockRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.bypassActivationLockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.bypassActivationLockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.bypassActivationLockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.bypassActivationLockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.bypassActivationLockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.BypassActivationLockRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDevicePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDevicePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDevicePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDevicePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDevicePostRequestBody::|public|KeepUserData:bool? -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDevicePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDevicePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDevicePostRequestBody -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDevicePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDeviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDeviceRequestBuilder.cleanWindowsDeviceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDeviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDeviceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDevicePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDeviceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDevicePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.cleanWindowsDeviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDeviceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDevicePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDevicePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDevicePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDevicePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDevicePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDevicePostRequestBody::|public|UserPrincipalName:string -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDevicePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDevicePostRequestBody -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDevicePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDeviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDeviceRequestBuilder.deleteUserFromSharedAppleDeviceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDeviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDeviceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDevicePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDeviceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDevicePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.deleteUserFromSharedAppleDeviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDeviceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder.deviceCategoryRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder.deviceCategoryRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder.deviceCategoryRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder.deviceCategoryRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder.deviceCategoryRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceCategory -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DeviceCategory; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceCategory -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|Ref:global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DeviceCategory; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.deviceCategoryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.DeviceCategoryRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder.RefRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):string -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.ReferenceUpdate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.ReferenceUpdate; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.Ref.RefRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder.deviceCompliancePolicyStatesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder::[DeviceCompliancePolicyStateId:string]:global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceCompliancePolicyStateCollectionResponse -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DeviceCompliancePolicyState; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceCompliancePolicyState -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DeviceCompliancePolicyState; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.deviceCompliancePolicyStatesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.DeviceCompliancePolicyStatesRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder.DeviceCompliancePolicyStateItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder.DeviceCompliancePolicyStateItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder.DeviceCompliancePolicyStateItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder.DeviceCompliancePolicyStateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder.DeviceCompliancePolicyStateItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceCompliancePolicyState -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DeviceCompliancePolicyState; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceCompliancePolicyState -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DeviceCompliancePolicyState; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.Item.DeviceCompliancePolicyStateItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder.deviceConfigurationStatesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder::[DeviceConfigurationStateId:string]:global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceConfigurationStateCollectionResponse -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DeviceConfigurationState; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceConfigurationState -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DeviceConfigurationState; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.deviceConfigurationStatesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.DeviceConfigurationStatesRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder.DeviceConfigurationStateItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder.DeviceConfigurationStateItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder.DeviceConfigurationStateItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder.DeviceConfigurationStateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder.DeviceConfigurationStateItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceConfigurationState -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DeviceConfigurationState; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceConfigurationState -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DeviceConfigurationState; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.Item.DeviceConfigurationStateItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.disableLostModeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.disableLostModeRequestBuilder.disableLostModeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.disableLostModeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.disableLostModeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.disableLostModeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.disableLostModeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.disableLostModeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.DisableLostModeRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.locateDeviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.locateDeviceRequestBuilder.locateDeviceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.locateDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.locateDeviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.locateDeviceRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.locateDeviceRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.locateDeviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.LocateDeviceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlPostResponse::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlPostResponse::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlPostResponse::|public|constructor():void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlPostResponse::|public|Value:string -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlPostResponse -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlPostResponse~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlRequestBuilder.createDownloadUrlRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlRequestBuilder::|public|PostAsCreateDownloadUrlPostResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlPostResponse -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlResponse -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlResponse-->global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlPostResponse -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.createDownloadUrlResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlResponse -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder.DeviceLogCollectionResponseItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder.DeviceLogCollectionResponseItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder.DeviceLogCollectionResponseItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder.DeviceLogCollectionResponseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder.DeviceLogCollectionResponseItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|createDownloadUrl:global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl.CreateDownloadUrlRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceLogCollectionResponse -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DeviceLogCollectionResponse; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceLogCollectionResponse -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DeviceLogCollectionResponse; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder.logCollectionRequestsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder::[DeviceLogCollectionResponseId:string]:global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Item.DeviceLogCollectionResponseItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceLogCollectionResponseCollectionResponse -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DeviceLogCollectionResponse; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceLogCollectionResponse -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DeviceLogCollectionResponse; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.logCollectionRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.LogCollectionRequestsRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.logoutSharedAppleDeviceActiveUserRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.logoutSharedAppleDeviceActiveUserRequestBuilder.logoutSharedAppleDeviceActiveUserRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.logoutSharedAppleDeviceActiveUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.logoutSharedAppleDeviceActiveUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.logoutSharedAppleDeviceActiveUserRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.logoutSharedAppleDeviceActiveUserRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.logoutSharedAppleDeviceActiveUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.LogoutSharedAppleDeviceActiveUserRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder.ManagedDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder.ManagedDeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder.ManagedDeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder.ManagedDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder.ManagedDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|bypassActivationLock:global.Microsoft.Graph.Me.ManagedDevices.Item.BypassActivationLock.BypassActivationLockRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|cleanWindowsDevice:global.Microsoft.Graph.Me.ManagedDevices.Item.CleanWindowsDevice.CleanWindowsDeviceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|deleteUserFromSharedAppleDevice:global.Microsoft.Graph.Me.ManagedDevices.Item.DeleteUserFromSharedAppleDevice.DeleteUserFromSharedAppleDeviceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|deviceCategory:global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCategory.DeviceCategoryRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|deviceCompliancePolicyStates:global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceCompliancePolicyStates.DeviceCompliancePolicyStatesRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|deviceConfigurationStates:global.Microsoft.Graph.Me.ManagedDevices.Item.DeviceConfigurationStates.DeviceConfigurationStatesRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|disableLostMode:global.Microsoft.Graph.Me.ManagedDevices.Item.DisableLostMode.DisableLostModeRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ManagedDevice -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|locateDevice:global.Microsoft.Graph.Me.ManagedDevices.Item.LocateDevice.LocateDeviceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|logCollectionRequests:global.Microsoft.Graph.Me.ManagedDevices.Item.LogCollectionRequests.LogCollectionRequestsRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|logoutSharedAppleDeviceActiveUser:global.Microsoft.Graph.Me.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser.LogoutSharedAppleDeviceActiveUserRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ManagedDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ManagedDevice -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rebootNow:global.Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.RebootNowRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|recoverPasscode:global.Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|remoteLock:global.Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|requestRemoteAssistance:global.Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|resetPasscode:global.Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retire:global.Microsoft.Graph.Me.ManagedDevices.Item.Retire.RetireRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|shutDown:global.Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|syncDevice:global.Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ManagedDevice; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|updateWindowsDeviceAccount:global.Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|users:global.Microsoft.Graph.Me.ManagedDevices.Item.Users.UsersRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|windowsDefenderScan:global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|windowsDefenderUpdateSignatures:global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.WindowsDefenderUpdateSignaturesRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|windowsProtectionState:global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.WindowsProtectionStateRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|wipe:global.Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipeRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.rebootNowRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.rebootNowRequestBuilder.rebootNowRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.rebootNowRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.rebootNowRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.rebootNowRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.rebootNowRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.rebootNowRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.RebootNow.RebootNowRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.recoverPasscodeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.recoverPasscodeRequestBuilder.recoverPasscodeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.recoverPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.recoverPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.recoverPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.recoverPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.recoverPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder.remoteLockRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.requestRemoteAssistanceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.requestRemoteAssistanceRequestBuilder.requestRemoteAssistanceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.requestRemoteAssistanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.requestRemoteAssistanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.requestRemoteAssistanceRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.requestRemoteAssistanceRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.requestRemoteAssistanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder.resetPasscodeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.Retire.retireRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.Retire.retireRequestBuilder.retireRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.Retire.RetireRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder.shutDownRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder.syncDeviceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountPostRequestBody::|public|UpdateWindowsDeviceAccountActionParameter:global.Microsoft.Graph.Models.UpdateWindowsDeviceAccountActionParameter -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountRequestBuilder.updateWindowsDeviceAccountRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.updateWindowsDeviceAccountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount.UpdateWindowsDeviceAccountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder.usersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserCollectionResponse -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.Users.usersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.Users.UsersRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanPostRequestBody::|public|QuickScan:bool? -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanPostRequestBody -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanRequestBuilder.windowsDefenderScanRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.windowsDefenderScanRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderScan.WindowsDefenderScanRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.windowsDefenderUpdateSignaturesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.windowsDefenderUpdateSignaturesRequestBuilder.windowsDefenderUpdateSignaturesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.windowsDefenderUpdateSignaturesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.windowsDefenderUpdateSignaturesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.windowsDefenderUpdateSignaturesRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.windowsDefenderUpdateSignaturesRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.windowsDefenderUpdateSignaturesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsDefenderUpdateSignatures.WindowsDefenderUpdateSignaturesRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder.detectedMalwareStateRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder::[WindowsDeviceMalwareStateId:string]:global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsDeviceMalwareStateCollectionResponse -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WindowsDeviceMalwareState; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsDeviceMalwareState -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WindowsDeviceMalwareState; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.detectedMalwareStateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.DetectedMalwareStateRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder.WindowsDeviceMalwareStateItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder.WindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder.WindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder.WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder.WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsDeviceMalwareState -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WindowsDeviceMalwareState; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsDeviceMalwareState -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WindowsDeviceMalwareState; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item.WindowsDeviceMalwareStateItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder.windowsProtectionStateRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder.windowsProtectionStateRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder.windowsProtectionStateRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder.windowsProtectionStateRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder.windowsProtectionStateRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|detectedMalwareState:global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.DetectedMalwareStateRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsProtectionState -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WindowsProtectionState; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsProtectionState -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WindowsProtectionState; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.windowsProtectionStateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.WindowsProtectionState.WindowsProtectionStateRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|public|KeepEnrollmentData:bool? -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|public|KeepUserData:bool? -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|public|MacOsUnlockCode:string -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|public|PersistEsimDataPlan:bool? -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipePostRequestBody -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipeRequestBuilder.wipeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.Item.Wipe.wipeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.Item.Wipe.WipeRequestBuilder -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder.managedDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder::[ManagedDeviceId:string]:global.Microsoft.Graph.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ManagedDevices.Count.CountRequestBuilder -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ManagedDeviceCollectionResponse -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ManagedDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ManagedDevice -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ManagedDevice; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ManagedDevices.managedDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ManagedDevices.ManagedDevicesRequestBuilder -Microsoft.Graph.Me.Manager.managerRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Manager.managerRequestBuilder.managerRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Manager.managerRequestBuilder.managerRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Manager.managerRequestBuilder.managerRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Manager.managerRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Manager.managerRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Manager.managerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.Manager.managerRequestBuilder::|public|Ref:global.Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder -Microsoft.Graph.Me.Manager.managerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Manager.managerRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Manager.ManagerRequestBuilder -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder.RefRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):string -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.ReferenceUpdate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.ReferenceUpdate; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Manager.Ref.RefRequestBuilder -Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdministrativeUnitCollectionResponse -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.Count.CountRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryRoleCollectionResponse -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MemberOf.GraphGroup.Count.CountRequestBuilder -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GroupCollectionResponse -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.GraphGroup.graphGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder::|public|graphAdministrativeUnit:global.Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder::|public|graphDirectoryRole:global.Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder::|public|graphGroup:global.Microsoft.Graph.Me.MemberOf.Item.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdministrativeUnit -Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryRole -Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.GraphGroup.graphGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.Item.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MemberOf.Item.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MemberOf.Item.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Group -Microsoft.Graph.Me.MemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.Item.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder.memberOfRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder.memberOfRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder.memberOfRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder.memberOfRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder.memberOfRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder.memberOfRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder.memberOfRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder.memberOfRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder.memberOfRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Me.MemberOf.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::|public|Count:global.Microsoft.Graph.Me.MemberOf.Count.CountRequestBuilder -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::|public|graphAdministrativeUnit:global.Microsoft.Graph.Me.MemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::|public|graphDirectoryRole:global.Microsoft.Graph.Me.MemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::|public|graphGroup:global.Microsoft.Graph.Me.MemberOf.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.MemberOf.memberOfRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MemberOf.MemberOfRequestBuilder -Microsoft.Graph.Me.meRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.meRequestBuilder.meRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.meRequestBuilder.meRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.meRequestBuilder.meRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.meRequestBuilder.meRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.meRequestBuilder::|public|activities:global.Microsoft.Graph.Me.Activities.ActivitiesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|adhocCalls:global.Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|agreementAcceptances:global.Microsoft.Graph.Me.AgreementAcceptances.AgreementAcceptancesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|appRoleAssignments:global.Microsoft.Graph.Me.AppRoleAssignments.AppRoleAssignmentsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|assignLicense:global.Microsoft.Graph.Me.AssignLicense.AssignLicenseRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|authentication:global.Microsoft.Graph.Me.Authentication.AuthenticationRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|calendar:global.Microsoft.Graph.Me.Calendar.CalendarRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|calendarGroups:global.Microsoft.Graph.Me.CalendarGroups.CalendarGroupsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|calendars:global.Microsoft.Graph.Me.Calendars.CalendarsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|calendarView:global.Microsoft.Graph.Me.CalendarView.CalendarViewRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|changePassword:global.Microsoft.Graph.Me.ChangePassword.ChangePasswordRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|chats:global.Microsoft.Graph.Me.Chats.ChatsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|checkMemberGroups:global.Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|checkMemberObjects:global.Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|cloudClipboard:global.Microsoft.Graph.Me.CloudClipboard.CloudClipboardRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|cloudPCs:global.Microsoft.Graph.Me.CloudPCs.CloudPCsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.meRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.meRequestBuilder::|public|contactFolders:global.Microsoft.Graph.Me.ContactFolders.ContactFoldersRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|contacts:global.Microsoft.Graph.Me.Contacts.ContactsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|createdObjects:global.Microsoft.Graph.Me.CreatedObjects.CreatedObjectsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|dataSecurityAndGovernance:global.Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|deviceManagementTroubleshootingEvents:global.Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|directReports:global.Microsoft.Graph.Me.DirectReports.DirectReportsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|drive:global.Microsoft.Graph.Me.Drive.DriveRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|drives:global.Microsoft.Graph.Me.Drives.DrivesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|employeeExperience:global.Microsoft.Graph.Me.EmployeeExperience.EmployeeExperienceRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|events:global.Microsoft.Graph.Me.Events.EventsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|exportDeviceAndAppManagementData:global.Microsoft.Graph.Me.ExportDeviceAndAppManagementData.ExportDeviceAndAppManagementDataRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|exportDeviceAndAppManagementDataWithSkipWithTop(skip:int?; top:int?):global.Microsoft.Graph.Me.ExportDeviceAndAppManagementDataWithSkipWithTop.ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|exportPersonalData:global.Microsoft.Graph.Me.ExportPersonalData.ExportPersonalDataRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|findMeetingTimes:global.Microsoft.Graph.Me.FindMeetingTimes.FindMeetingTimesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|followedSites:global.Microsoft.Graph.Me.FollowedSites.FollowedSitesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User -Microsoft.Graph.Me.meRequestBuilder::|public|getMailTips:global.Microsoft.Graph.Me.GetMailTips.GetMailTipsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|getManagedAppDiagnosticStatuses:global.Microsoft.Graph.Me.GetManagedAppDiagnosticStatuses.GetManagedAppDiagnosticStatusesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|getManagedAppPolicies:global.Microsoft.Graph.Me.GetManagedAppPolicies.GetManagedAppPoliciesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|getManagedDevicesWithAppFailures:global.Microsoft.Graph.Me.GetManagedDevicesWithAppFailures.GetManagedDevicesWithAppFailuresRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|getMemberGroups:global.Microsoft.Graph.Me.GetMemberGroups.GetMemberGroupsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|getMemberObjects:global.Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|inferenceClassification:global.Microsoft.Graph.Me.InferenceClassification.InferenceClassificationRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|insights:global.Microsoft.Graph.Me.Insights.InsightsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|joinedTeams:global.Microsoft.Graph.Me.JoinedTeams.JoinedTeamsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|licenseDetails:global.Microsoft.Graph.Me.LicenseDetails.LicenseDetailsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Me.MailboxSettings.MailboxSettingsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|mailFolders:global.Microsoft.Graph.Me.MailFolders.MailFoldersRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|managedAppRegistrations:global.Microsoft.Graph.Me.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|managedDevices:global.Microsoft.Graph.Me.ManagedDevices.ManagedDevicesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|manager:global.Microsoft.Graph.Me.Manager.ManagerRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|memberOf:global.Microsoft.Graph.Me.MemberOf.MemberOfRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|messages:global.Microsoft.Graph.Me.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|notes:global.Microsoft.Graph.Me.Notes.NotesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|oauth2PermissionGrants:global.Microsoft.Graph.Me.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|onenote:global.Microsoft.Graph.Me.Onenote.OnenoteRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|onlineMeetings:global.Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|onPremisesSyncBehavior:global.Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|outlook:global.Microsoft.Graph.Me.Outlook.OutlookRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|ownedDevices:global.Microsoft.Graph.Me.OwnedDevices.OwnedDevicesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|ownedObjects:global.Microsoft.Graph.Me.OwnedObjects.OwnedObjectsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.User; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User -Microsoft.Graph.Me.meRequestBuilder::|public|people:global.Microsoft.Graph.Me.People.PeopleRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|permissionGrants:global.Microsoft.Graph.Me.PermissionGrants.PermissionGrantsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|photo:global.Microsoft.Graph.Me.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|photos:global.Microsoft.Graph.Me.Photos.PhotosRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|planner:global.Microsoft.Graph.Me.Planner.PlannerRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|presence:global.Microsoft.Graph.Me.Presence.PresenceRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|registeredDevices:global.Microsoft.Graph.Me.RegisteredDevices.RegisteredDevicesRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|reminderViewWithStartDateTimeWithEndDateTime(EndDateTime:string; StartDateTime:string):global.Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|removeAllDevicesFromManagement:global.Microsoft.Graph.Me.RemoveAllDevicesFromManagement.RemoveAllDevicesFromManagementRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|reprocessLicenseAssignment:global.Microsoft.Graph.Me.ReprocessLicenseAssignment.ReprocessLicenseAssignmentRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|restore:global.Microsoft.Graph.Me.Restore.RestoreRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|retryServiceProvisioning:global.Microsoft.Graph.Me.RetryServiceProvisioning.RetryServiceProvisioningRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|revokeSignInSessions:global.Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|scopedRoleMemberOf:global.Microsoft.Graph.Me.ScopedRoleMemberOf.ScopedRoleMemberOfRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|sendMail:global.Microsoft.Graph.Me.SendMail.SendMailRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Me.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|settings:global.Microsoft.Graph.Me.Settings.SettingsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|solutions:global.Microsoft.Graph.Me.Solutions.SolutionsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|sponsorOf:global.Microsoft.Graph.Me.SponsorOf.SponsorOfRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|sponsors:global.Microsoft.Graph.Me.Sponsors.SponsorsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|teamwork:global.Microsoft.Graph.Me.Teamwork.TeamworkRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|todo:global.Microsoft.Graph.Me.Todo.TodoRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.meRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.User; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.meRequestBuilder::|public|transitiveMemberOf:global.Microsoft.Graph.Me.TransitiveMemberOf.TransitiveMemberOfRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|translateExchangeIds:global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|wipeManagedAppRegistrationsByDeviceTag:global.Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagRequestBuilder -Microsoft.Graph.Me.meRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MeRequestBuilder -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|IncludeHiddenMessages:string -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.Messages.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Messages.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Messages.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|ChangeType:string -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Messages.Delta.deltaResponse-->global.Microsoft.Graph.Me.Messages.Delta.DeltaGetResponse -Microsoft.Graph.Me.Messages.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Delta.DeltaResponse -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::[AttachmentId:string]:global.Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentCollectionResponse -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AttachmentItem:global.Microsoft.Graph.Models.AttachmentItem -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Messages.Item.Copy.copyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Messages.Item.Copy.copyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Messages.Item.Copy.copyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Messages.Item.Copy.copyPostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.Messages.Item.Copy.copyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Item.Copy.copyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Item.Copy.copyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.Copy.CopyPostRequestBody -Microsoft.Graph.Me.Messages.Item.Copy.copyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Messages.Item.Copy.copyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Copy.copyRequestBuilder.copyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Copy.copyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Copy.copyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardPostRequestBody -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardRequestBuilder.createForwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.CreateForward.createForwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardRequestBuilder -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyPostRequestBody -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyRequestBuilder.createReplyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.CreateReply.createReplyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyRequestBuilder -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder.createReplyAllRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.CreateReplyAll.createReplyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder -Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Messages.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody::|public|ToRecipients:List -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.Forward.ForwardPostRequestBody -Microsoft.Graph.Me.Messages.Item.Forward.forwardPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Messages.Item.Forward.forwardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Forward.forwardRequestBuilder.forwardRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Forward.forwardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Forward.forwardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Forward.forwardRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Messages.Item.Forward.forwardRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.Forward.ForwardPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Forward.forwardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder.MessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Me.Messages.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|copy:global.Microsoft.Graph.Me.Messages.Item.Copy.CopyRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|createForward:global.Microsoft.Graph.Me.Messages.Item.CreateForward.CreateForwardRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|createReply:global.Microsoft.Graph.Me.Messages.Item.CreateReply.CreateReplyRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|createReplyAll:global.Microsoft.Graph.Me.Messages.Item.CreateReplyAll.CreateReplyAllRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.Messages.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|forward:global.Microsoft.Graph.Me.Messages.Item.Forward.ForwardRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|move:global.Microsoft.Graph.Me.Messages.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|reply:global.Microsoft.Graph.Me.Messages.Item.Reply.ReplyRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|replyAll:global.Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|send:global.Microsoft.Graph.Me.Messages.Item.Send.SendRequestBuilder -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder -Microsoft.Graph.Me.Messages.Item.Move.movePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Messages.Item.Move.movePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Messages.Item.Move.movePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Messages.Item.Move.movePostRequestBody::|public|DestinationId:string -Microsoft.Graph.Me.Messages.Item.Move.movePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Item.Move.movePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Item.Move.movePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.Move.MovePostRequestBody -Microsoft.Graph.Me.Messages.Item.Move.movePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Messages.Item.Move.moveRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Move.moveRequestBuilder.moveRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Move.moveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Move.moveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Move.moveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.Move.MovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.Move.moveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.Move.MovePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Move.moveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Move.MoveRequestBuilder -Microsoft.Graph.Me.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder -Microsoft.Graph.Me.Messages.Item.Reply.replyPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Messages.Item.Reply.replyPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Messages.Item.Reply.replyPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Messages.Item.Reply.replyPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Messages.Item.Reply.replyPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Item.Reply.replyPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.Reply.replyPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Item.Reply.replyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.Reply.ReplyPostRequestBody -Microsoft.Graph.Me.Messages.Item.Reply.replyPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Messages.Item.Reply.replyRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Reply.replyRequestBuilder.replyRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Reply.replyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Reply.replyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Reply.replyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.Reply.ReplyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Messages.Item.Reply.replyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.Reply.ReplyPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Reply.replyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Reply.ReplyRequestBuilder -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|Comment:string -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder.replyAllRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllRequestBuilder -Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder.sendRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Send.SendRequestBuilder -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetQueryParameters::|public|IncludeHiddenMessages:string -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Messages.messagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|IncludeHiddenMessages:string -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Messages.messagesRequestBuilder::[MessageId:string]:global.Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder -Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Messages.Count.CountRequestBuilder -Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Messages.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MessageCollectionResponse -Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.MessagesRequestBuilder -Microsoft.Graph.Me.Notes.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Notes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Notes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Notes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Count.CountRequestBuilder -Microsoft.Graph.Me.Notes.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Notes.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Notes.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Notes.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Notes.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Notes.Delta.DeltaGetResponse -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Notes.Delta.DeltaGetResponse -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Notes.Delta.DeltaResponse -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Notes.Delta.deltaResponse-->global.Microsoft.Graph.Me.Notes.Delta.DeltaGetResponse -Microsoft.Graph.Me.Notes.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Notes.Delta.DeltaResponse -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::[AttachmentId:string]:global.Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentCollectionResponse -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Attachment; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AttachmentItem:global.Microsoft.Graph.Models.AttachmentItem -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Attachment -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Item.Attachments.Item.AttachmentItemRequestBuilder -Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Notes.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder.NoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder.NoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder.NoteItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder.NoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder.NoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Me.Notes.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.Notes.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Note -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Note; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Note -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Note; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder -Microsoft.Graph.Me.Notes.notesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.notesRequestBuilder.notesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Notes.notesRequestBuilder::[NoteId:string]:global.Microsoft.Graph.Me.Notes.Item.NoteItemRequestBuilder -Microsoft.Graph.Me.Notes.notesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.notesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Notes.notesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Notes.Count.CountRequestBuilder -Microsoft.Graph.Me.Notes.notesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Notes.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Notes.notesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.NoteCollectionResponse -Microsoft.Graph.Me.Notes.notesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Note; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Note -Microsoft.Graph.Me.Notes.notesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.notesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Note; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Notes.notesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Notes.NotesRequestBuilder -Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder -Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder.OAuth2PermissionGrantItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder.OAuth2PermissionGrantItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder.OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OAuth2PermissionGrant -Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder.oauth2PermissionGrantsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder.oauth2PermissionGrantsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder.oauth2PermissionGrantsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder.oauth2PermissionGrantsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder.oauth2PermissionGrantsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder.oauth2PermissionGrantsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder.oauth2PermissionGrantsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder.oauth2PermissionGrantsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder.oauth2PermissionGrantsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder::[OAuth2PermissionGrantId:string]:global.Microsoft.Graph.Me.Oauth2PermissionGrants.Item.OAuth2PermissionGrantItemRequestBuilder -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Oauth2PermissionGrants.Count.CountRequestBuilder -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OAuth2PermissionGrantCollectionResponse -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Oauth2PermissionGrants.oauth2PermissionGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlPostRequestBody::|public|WebUrl:string -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlRequestBuilder.getNotebookFromWebUrlRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CopyNotebookModel -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.getNotebookFromWebUrlRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksGetResponse::|public|Value:List -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksGetResponse -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; includePersonalNotebooks?:bool?):void -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder::|public|GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksGetResponse -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksResponse -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksResponse-->global.Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksGetResponse -Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.getRecentNotebooksWithIncludePersonalNotebooksResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksResponse -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|NotebookFolder:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|RenameAs:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookRequestBuilder.copyNotebookRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.copyNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder.NotebookItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder.NotebookItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder.NotebookItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder.NotebookItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder.NotebookItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|copyNotebook:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.CopyNotebook.CopyNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Notebook; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|sectionGroups:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.SectionGroupsRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|sections:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.SectionsRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Notebook; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|parentSectionGroup:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SectionGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|sectionGroups:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|sections:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.SectionsRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SectionGroup; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::[SectionGroupId1:string]:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroupCollectionResponse -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|RenameAs:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder.copyToNotebookRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|RenameAs:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder.copyToSectionGroupRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|copyToNotebook:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|copyToSectionGroup:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|pages:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|parentSectionGroup:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder.copyToSectionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|copyToSection:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|onenotePatchContent:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|parentSection:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|preview:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Commands:List -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder.onenotePatchContentRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder.previewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePagePreview -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::[OnenotePageId:string]:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePageCollectionResponse -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder::[OnenoteSectionId:string]:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSectionCollectionResponse -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.Sections.SectionsRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder::[SectionGroupId:string]:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroupItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroupCollectionResponse -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SectionGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SectionGroup; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.sectionGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.SectionGroups.SectionGroupsRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|RenameAs:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder.copyToNotebookRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|RenameAs:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder.copyToSectionGroupRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|copyToNotebook:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|copyToSectionGroup:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|pages:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|parentSectionGroup:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder.copyToSectionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|copyToSection:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|onenotePatchContent:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|parentSection:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|preview:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Commands:List -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder.onenotePatchContentRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder.previewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePagePreview -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder::[OnenotePageId:string]:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePageCollectionResponse -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.pagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder::[OnenoteSectionId:string]:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Item.OnenoteSectionItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSectionCollectionResponse -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.sectionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.Item.Sections.SectionsRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder.notebooksRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::[NotebookId:string]:global.Microsoft.Graph.Me.Onenote.Notebooks.Item.NotebookItemRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Notebooks.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.NotebookCollectionResponse -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|getNotebookFromWebUrl:global.Microsoft.Graph.Me.Onenote.Notebooks.GetNotebookFromWebUrl.GetNotebookFromWebUrlRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|getRecentNotebooksWithIncludePersonalNotebooks(includePersonalNotebooks:bool?):global.Microsoft.Graph.Me.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks.GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Notebook; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Notebook; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Notebooks.notebooksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Notebooks.NotebooksRequestBuilder -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder.onenoteRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder.onenoteRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder.onenoteRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder.onenoteRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder.onenoteRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Onenote -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|notebooks:global.Microsoft.Graph.Me.Onenote.Notebooks.NotebooksRequestBuilder -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|operations:global.Microsoft.Graph.Me.Onenote.Operations.OperationsRequestBuilder -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|pages:global.Microsoft.Graph.Me.Onenote.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Onenote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Onenote -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|resources:global.Microsoft.Graph.Me.Onenote.Resources.ResourcesRequestBuilder -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|sectionGroups:global.Microsoft.Graph.Me.Onenote.SectionGroups.SectionGroupsRequestBuilder -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|sections:global.Microsoft.Graph.Me.Onenote.Sections.SectionsRequestBuilder -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Onenote; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.onenoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.OnenoteRequestBuilder -Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder.OnenoteOperationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder.OnenoteOperationItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder.OnenoteOperationItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder.OnenoteOperationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder.OnenoteOperationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenoteOperation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenoteOperation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder.operationsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder::[OnenoteOperationId:string]:global.Microsoft.Graph.Me.Onenote.Operations.Item.OnenoteOperationItemRequestBuilder -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Operations.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperationCollectionResponse -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenoteOperation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenoteOperation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Operations.operationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Operations.OperationsRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionPostRequestBody -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionRequestBuilder.copyToSectionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.Onenote.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|copyToSection:global.Microsoft.Graph.Me.Onenote.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|onenotePatchContent:global.Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|parentSection:global.Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|preview:global.Microsoft.Graph.Me.Onenote.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Commands:List -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder.onenotePatchContentRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.parentSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.Preview.previewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.Item.Preview.previewRequestBuilder.previewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.Item.Preview.previewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.Preview.previewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.Item.Preview.previewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePagePreview -Microsoft.Graph.Me.Onenote.Pages.Item.Preview.previewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.Item.Preview.previewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder.pagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder::[OnenotePageId:string]:global.Microsoft.Graph.Me.Onenote.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePageCollectionResponse -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Pages.pagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteResource -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Resources.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Resources.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder.OnenoteResourceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder.OnenoteResourceItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder.OnenoteResourceItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder.OnenoteResourceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder.OnenoteResourceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.Onenote.Resources.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteResource -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenoteResource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteResource -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenoteResource; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder.resourcesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder::[OnenoteResourceId:string]:global.Microsoft.Graph.Me.Onenote.Resources.Item.OnenoteResourceItemRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Resources.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteResourceCollectionResponse -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenoteResource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteResource -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenoteResource; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Resources.resourcesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Resources.ResourcesRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|parentSectionGroup:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SectionGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|sectionGroups:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|sections:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.SectionsRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SectionGroup; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder.SectionGroupItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::[SectionGroupId1:string]:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Item.SectionGroupItemRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroupCollectionResponse -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.sectionGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroups.SectionGroupsRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|RenameAs:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder.copyToNotebookRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|RenameAs:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder.copyToSectionGroupRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|copyToNotebook:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|copyToSectionGroup:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|pages:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|parentSectionGroup:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder.copyToSectionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|copyToSection:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|onenotePatchContent:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|parentSection:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|preview:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Commands:List -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder.onenotePatchContentRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder.previewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePagePreview -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::[OnenotePageId:string]:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePageCollectionResponse -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.pagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder::[OnenoteSectionId:string]:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Item.OnenoteSectionItemRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSectionCollectionResponse -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.sectionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.Sections.SectionsRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder.sectionGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder::[SectionGroupId:string]:global.Microsoft.Graph.Me.Onenote.SectionGroups.Item.SectionGroupItemRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.SectionGroups.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroupCollectionResponse -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SectionGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SectionGroup; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.SectionGroups.sectionGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.SectionGroups.SectionGroupsRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|RenameAs:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder.copyToNotebookRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.copyToNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|RenameAs:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder.copyToSectionGroupRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.copyToSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder.OnenoteSectionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|copyToNotebook:global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToNotebook.CopyToNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|copyToSectionGroup:global.Microsoft.Graph.Me.Onenote.Sections.Item.CopyToSectionGroup.CopyToSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|pages:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|parentSectionGroup:global.Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|GroupId:string -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Id:string -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteCollectionId:string -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|public|SiteId:string -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder.copyToSectionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteOperation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.copyToSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder.OnenotePageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|copyToSection:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.CopyToSection.CopyToSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|onenotePatchContent:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|parentNotebook:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|parentSection:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|preview:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Commands:List -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder.onenotePatchContentRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.onenotePatchContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePatchContent.OnenotePatchContentRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder.parentSectionRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.parentSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.ParentSection.ParentSectionRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.previewRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.previewRequestBuilder.previewRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePagePreview -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.previewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.Preview.PreviewRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder.pagesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder::[OnenotePageId:string]:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Item.OnenotePageItemRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePageCollectionResponse -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenotePage -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenotePage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.Pages.pagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.Pages.PagesRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.parentNotebookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.parentNotebookRequestBuilder.parentNotebookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Notebook -Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.parentNotebookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.ParentNotebook.ParentNotebookRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder.parentSectionGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionGroup -Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.parentSectionGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.Item.ParentSectionGroup.ParentSectionGroupRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder.sectionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder::[OnenoteSectionId:string]:global.Microsoft.Graph.Me.Onenote.Sections.Item.OnenoteSectionItemRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Onenote.Sections.Count.CountRequestBuilder -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSectionCollectionResponse -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnenoteSection -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnenoteSection; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Onenote.Sections.sectionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Onenote.Sections.SectionsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|ChatInfo:global.Microsoft.Graph.Models.ChatInfo -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|EndDateTime:DateTimeOffset? -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|ExternalId:string -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|Participants:global.Microsoft.Graph.Models.MeetingParticipants -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|StartDateTime:DateTimeOffset? -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|public|Subject:string -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetPostRequestBody -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetRequestBuilder.createOrGetRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnlineMeeting -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.createOrGetRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|MeetingOrganizerUserId:string -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|MeetingOrganizerUserId:string -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder.attendanceReportsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder::[MeetingAttendanceReportId:string]:global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MeetingAttendanceReportCollectionResponse -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MeetingAttendanceReport; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MeetingAttendanceReport -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MeetingAttendanceReport; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.attendanceReportsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.AttendanceReportsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder.attendanceRecordsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder::[AttendanceRecordId:string]:global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttendanceRecordCollectionResponse -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AttendanceRecord; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttendanceRecord -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AttendanceRecord; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.attendanceRecordsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.AttendanceRecordsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder.AttendanceRecordItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder.AttendanceRecordItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder.AttendanceRecordItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder.AttendanceRecordItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder.AttendanceRecordItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttendanceRecord -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AttendanceRecord; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttendanceRecord -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AttendanceRecord; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item.AttendanceRecordItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder.MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder.MeetingAttendanceReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder.MeetingAttendanceReportItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder.MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder.MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|attendanceRecords:global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.AttendanceRecordsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MeetingAttendanceReport -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MeetingAttendanceReport; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MeetingAttendanceReport -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MeetingAttendanceReport; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.Item.MeetingAttendanceReportItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder.attendeeReportRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder.attendeeReportRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder.attendeeReportRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.attendeeReportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.AttendeeReportRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlGetResponse::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlGetResponse::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlGetResponse::|public|constructor():void -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlGetResponse::|public|Value:string -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlGetResponse -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlGetResponse~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlRequestBuilder.getVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlRequestBuilder::|public|GetAsGetVirtualAppointmentJoinWebUrlGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlGetResponse -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlResponse -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlResponse-->global.Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlGetResponse -Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.getVirtualAppointmentJoinWebUrlResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlResponse -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder.OnlineMeetingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder.OnlineMeetingItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder.OnlineMeetingItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder.OnlineMeetingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder.OnlineMeetingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|attendanceReports:global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendanceReports.AttendanceReportsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|attendeeReport:global.Microsoft.Graph.Me.OnlineMeetings.Item.AttendeeReport.AttendeeReportRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnlineMeeting -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|getVirtualAppointmentJoinWebUrl:global.Microsoft.Graph.Me.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl.GetVirtualAppointmentJoinWebUrlRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnlineMeeting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnlineMeeting -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|recordings:global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|sendVirtualAppointmentReminderSms:global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|sendVirtualAppointmentSms:global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnlineMeeting; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|transcripts:global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.TranscriptsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaGetResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaGetResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaResponse-->global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaGetResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::[CallRecordingId:string]:global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Item.CallRecordingItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecordingCollectionResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.recordingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsPostRequestBody::|public|Attendees:List -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsPostRequestBody::|public|RemindBeforeTimeInMinutesType:global.Microsoft.Graph.Models.RemindBeforeTimeInMinutesType? -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsPostRequestBody -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsRequestBuilder.sendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.sendVirtualAppointmentReminderSmsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentReminderSms.SendVirtualAppointmentReminderSmsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsPostRequestBody::|public|Attendees:List -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsPostRequestBody::|public|MessageType:global.Microsoft.Graph.Models.VirtualAppointmentMessageType? -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsPostRequestBody -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsRequestBuilder.sendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.sendVirtualAppointmentSmsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.SendVirtualAppointmentSms.SendVirtualAppointmentSmsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaGetResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaGetResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaResponse-->global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaGetResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|metadataContent:global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::[CallTranscriptId:string]:global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Item.CallTranscriptItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscriptCollectionResponse -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.transcriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.Item.Transcripts.TranscriptsRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder.onlineMeetingsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::[OnlineMeetingId:string]:global.Microsoft.Graph.Me.OnlineMeetings.Item.OnlineMeetingItemRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OnlineMeetings.Count.CountRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|createOrGet:global.Microsoft.Graph.Me.OnlineMeetings.CreateOrGet.CreateOrGetRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Me.OnlineMeetings.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Me.OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnlineMeetingCollectionResponse -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OnlineMeeting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnlineMeeting -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnlineMeeting; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnPremisesSyncBehavior -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnPremisesSyncBehavior; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnPremisesSyncBehavior -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnPremisesSyncBehavior; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder -Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder.OutlookCategoryItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder.OutlookCategoryItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder.OutlookCategoryItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder.OutlookCategoryItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder.OutlookCategoryItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OutlookCategory -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OutlookCategory; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OutlookCategory -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OutlookCategory; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder.masterCategoriesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder::[OutlookCategoryId:string]:global.Microsoft.Graph.Me.Outlook.MasterCategories.Item.OutlookCategoryItemRequestBuilder -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OutlookCategoryCollectionResponse -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OutlookCategory; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OutlookCategory -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OutlookCategory; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.MasterCategories.masterCategoriesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Outlook.MasterCategories.MasterCategoriesRequestBuilder -Microsoft.Graph.Me.Outlook.outlookRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Outlook.outlookRequestBuilder.outlookRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Outlook.outlookRequestBuilder.outlookRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Outlook.outlookRequestBuilder.outlookRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.outlookRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.outlookRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.outlookRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OutlookUser -Microsoft.Graph.Me.Outlook.outlookRequestBuilder::|public|masterCategories:global.Microsoft.Graph.Me.Outlook.MasterCategories.MasterCategoriesRequestBuilder -Microsoft.Graph.Me.Outlook.outlookRequestBuilder::|public|supportedLanguages:global.Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesRequestBuilder -Microsoft.Graph.Me.Outlook.outlookRequestBuilder::|public|supportedTimeZones:global.Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesRequestBuilder -Microsoft.Graph.Me.Outlook.outlookRequestBuilder::|public|supportedTimeZonesWithTimeZoneStandard(TimeZoneStandard:string):global.Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardRequestBuilder -Microsoft.Graph.Me.Outlook.outlookRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.outlookRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Outlook.OutlookRequestBuilder -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesGetResponse::|public|Value:List -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesGetResponse -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder.supportedLanguagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder.supportedLanguagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder.supportedLanguagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder.supportedLanguagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder.supportedLanguagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder.supportedLanguagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder::|public|GetAsSupportedLanguagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesGetResponse -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesResponse -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesRequestBuilder -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesResponse-->global.Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesGetResponse -Microsoft.Graph.Me.Outlook.SupportedLanguages.supportedLanguagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Outlook.SupportedLanguages.SupportedLanguagesResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesGetResponse::|public|Value:List -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesGetResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder.supportedTimeZonesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder.supportedTimeZonesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder.supportedTimeZonesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder.supportedTimeZonesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder.supportedTimeZonesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder.supportedTimeZonesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder::|public|GetAsSupportedTimeZonesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesGetResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesRequestBuilder -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesResponse-->global.Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesGetResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZones.supportedTimeZonesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Outlook.SupportedTimeZones.SupportedTimeZonesResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardGetResponse::|public|Value:List -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardGetResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder.supportedTimeZonesWithTimeZoneStandardRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder.supportedTimeZonesWithTimeZoneStandardRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder.supportedTimeZonesWithTimeZoneStandardRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder.supportedTimeZonesWithTimeZoneStandardRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder.supportedTimeZonesWithTimeZoneStandardRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder.supportedTimeZonesWithTimeZoneStandardRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; TimeZoneStandard?:string):void -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder::|public|GetAsSupportedTimeZonesWithTimeZoneStandardGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardGetResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardRequestBuilder -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardResponse-->global.Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardGetResponse -Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.supportedTimeZonesWithTimeZoneStandardResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Outlook.SupportedTimeZonesWithTimeZoneStandard.SupportedTimeZonesWithTimeZoneStandardResponse -Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OwnedDevices.GraphDevice.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceCollectionResponse -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.GraphDevice.graphDeviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.GraphDevice.GraphDeviceRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EndpointCollectionResponse -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.GraphEndpointRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder::|public|graphAppRoleAssignment:global.Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder::|public|graphDevice:global.Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.GraphDeviceRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder::|public|graphEndpoint:global.Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignment -Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.graphDeviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Device -Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.Item.GraphDevice.GraphDeviceRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.graphEndpointRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Endpoint -Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder.ownedDevicesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder.ownedDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder.ownedDevicesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder.ownedDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder.ownedDevicesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder.ownedDevicesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder.ownedDevicesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder.ownedDevicesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder.ownedDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Me.OwnedDevices.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OwnedDevices.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::|public|graphAppRoleAssignment:global.Microsoft.Graph.Me.OwnedDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::|public|graphDevice:global.Microsoft.Graph.Me.OwnedDevices.GraphDevice.GraphDeviceRequestBuilder -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::|public|graphEndpoint:global.Microsoft.Graph.Me.OwnedDevices.GraphEndpoint.GraphEndpointRequestBuilder -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedDevices.ownedDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedDevices.OwnedDevicesRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OwnedObjects.GraphApplication.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ApplicationCollectionResponse -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.GraphApplication.graphApplicationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.GraphApplication.GraphApplicationRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OwnedObjects.GraphGroup.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GroupCollectionResponse -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.GraphGroup.graphGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServicePrincipalCollectionResponse -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder::|public|graphApplication:global.Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.GraphApplicationRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder::|public|graphGroup:global.Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder::|public|graphServicePrincipal:global.Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.graphApplicationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.graphApplicationRequestBuilder.graphApplicationRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.graphApplicationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.graphApplicationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.graphApplicationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Application -Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.graphApplicationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.graphApplicationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.Item.GraphApplication.GraphApplicationRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.graphGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.graphGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.graphGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.graphGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Group -Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.graphGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.graphGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.Item.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder.graphServicePrincipalRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServicePrincipal -Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder.ownedObjectsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder.ownedObjectsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder.ownedObjectsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder.ownedObjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder.ownedObjectsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder.ownedObjectsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder.ownedObjectsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder.ownedObjectsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder.ownedObjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Me.OwnedObjects.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.OwnedObjects.Count.CountRequestBuilder -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::|public|graphApplication:global.Microsoft.Graph.Me.OwnedObjects.GraphApplication.GraphApplicationRequestBuilder -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::|public|graphGroup:global.Microsoft.Graph.Me.OwnedObjects.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::|public|graphServicePrincipal:global.Microsoft.Graph.Me.OwnedObjects.GraphServicePrincipal.GraphServicePrincipalRequestBuilder -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.OwnedObjects.ownedObjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OwnedObjects.OwnedObjectsRequestBuilder -Microsoft.Graph.Me.People.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.People.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.People.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.People.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.People.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.People.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.People.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.People.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.People.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.People.Count.CountRequestBuilder -Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder.PersonItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder.PersonItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder.PersonItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Person -Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder -Microsoft.Graph.Me.People.peopleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.People.peopleRequestBuilder.peopleRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.People.peopleRequestBuilder.peopleRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.People.peopleRequestBuilder.peopleRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.People.peopleRequestBuilder.peopleRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.People.peopleRequestBuilder.peopleRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.People.peopleRequestBuilder.peopleRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.People.peopleRequestBuilder.peopleRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.People.peopleRequestBuilder.peopleRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.People.peopleRequestBuilder.peopleRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.People.peopleRequestBuilder::[PersonId:string]:global.Microsoft.Graph.Me.People.Item.PersonItemRequestBuilder -Microsoft.Graph.Me.People.peopleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.People.peopleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.People.peopleRequestBuilder::|public|Count:global.Microsoft.Graph.Me.People.Count.CountRequestBuilder -Microsoft.Graph.Me.People.peopleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PersonCollectionResponse -Microsoft.Graph.Me.People.peopleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.People.peopleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.People.PeopleRequestBuilder -Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder.ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder::[ResourceSpecificPermissionGrantId:string]:global.Microsoft.Graph.Me.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.PermissionGrants.Count.CountRequestBuilder -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrantCollectionResponse -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.PermissionGrants.permissionGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.PermissionGrants.PermissionGrantsRequestBuilder -Microsoft.Graph.Me.Photo.photoRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Photo.photoRequestBuilder.photoRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Photo.photoRequestBuilder.photoRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Photo.photoRequestBuilder.photoRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photo.photoRequestBuilder.photoRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ProfilePhoto; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photo.photoRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Photo.PhotoRequestBuilder -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Photo.Value.ContentRequestBuilder -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder.ProfilePhotoItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder.ProfilePhotoItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder.ProfilePhotoItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhoto -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Photos.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Photos.photosRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Photos.photosRequestBuilder.photosRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Photos.photosRequestBuilder.photosRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Photos.photosRequestBuilder.photosRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Photos.photosRequestBuilder.photosRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Photos.photosRequestBuilder.photosRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Photos.photosRequestBuilder.photosRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Photos.photosRequestBuilder.photosRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Photos.photosRequestBuilder.photosRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Photos.photosRequestBuilder.photosRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Photos.photosRequestBuilder::[ProfilePhotoId:string]:global.Microsoft.Graph.Me.Photos.Item.ProfilePhotoItemRequestBuilder -Microsoft.Graph.Me.Photos.photosRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photos.photosRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Photos.photosRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfilePhotoCollectionResponse -Microsoft.Graph.Me.Photos.photosRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Photos.photosRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Photos.PhotosRequestBuilder -Microsoft.Graph.Me.Planner.plannerRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.plannerRequestBuilder.plannerRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.plannerRequestBuilder.plannerRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.plannerRequestBuilder.plannerRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.plannerRequestBuilder.plannerRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.plannerRequestBuilder.plannerRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerUser -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerUser; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerUser -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Me.Planner.Plans.PlansRequestBuilder -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|tasks:global.Microsoft.Graph.Me.Planner.Tasks.TasksRequestBuilder -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerUser; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.plannerRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.PlannerRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder::[PlannerBucketId:string]:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucketCollectionResponse -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PlannerBucket; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucket -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PlannerBucket; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.bucketsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.BucketsRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder.PlannerBucketItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder.PlannerBucketItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder.PlannerBucketItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder.PlannerBucketItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder.PlannerBucketItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucket -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerBucket; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucket -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|tasks:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.TasksRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerBucket; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.PlannerBucketItemRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTaskDetails -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerTaskDetails; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTaskDetails -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|assignedToTaskBoardFormat:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|bucketTaskBoardFormat:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTask -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTask -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder::[PlannerTaskId:string]:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTaskCollectionResponse -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTask -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.Item.Tasks.TasksRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder.detailsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder.detailsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerPlanDetails -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerPlanDetails; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerPlanDetails -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Details.DetailsRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder.PlannerPlanItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder.PlannerPlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder.PlannerPlanItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder.PlannerPlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder.PlannerPlanItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|buckets:global.Microsoft.Graph.Me.Planner.Plans.Item.Buckets.BucketsRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Me.Planner.Plans.Item.Details.DetailsRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerPlan -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerPlan; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerPlan -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|tasks:global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.TasksRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTaskDetails -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerTaskDetails; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTaskDetails -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|assignedToTaskBoardFormat:global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|bucketTaskBoardFormat:global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTask -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTask -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder::[PlannerTaskId:string]:global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTaskCollectionResponse -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTask -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.Item.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.Item.Tasks.TasksRequestBuilder -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder.plansRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder::[PlannerPlanId:string]:global.Microsoft.Graph.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Planner.Plans.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerPlanCollectionResponse -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PlannerPlan; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerPlan -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Plans.PlansRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder.assignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerAssignedToTaskBoardTaskFormat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.assignedToTaskBoardFormatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder.bucketTaskBoardFormatRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerBucketTaskBoardTaskFormat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.bucketTaskBoardFormatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder.detailsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTaskDetails -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerTaskDetails; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTaskDetails -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Tasks.Item.Details.DetailsRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|assignedToTaskBoardFormat:global.Microsoft.Graph.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat.AssignedToTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|bucketTaskBoardFormat:global.Microsoft.Graph.Me.Planner.Tasks.Item.BucketTaskBoardFormat.BucketTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Me.Planner.Tasks.Item.Details.DetailsRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTask -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTask -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PlannerProgressTaskBoardTaskFormat; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder.tasksRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::[PlannerTaskId:string]:global.Microsoft.Graph.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Planner.Tasks.Count.CountRequestBuilder -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTaskCollectionResponse -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlannerTask -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Tasks.TasksRequestBuilder -Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder.clearAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder -Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder.clearLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder -Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|public|SessionId:string -Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Presence.ClearPresence.ClearPresencePostRequestBody -Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Presence.ClearPresence.clearPresenceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.ClearPresence.clearPresenceRequestBuilder.clearPresenceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.ClearPresence.clearPresenceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.ClearPresence.clearPresenceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.ClearPresence.clearPresenceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Presence.ClearPresence.ClearPresencePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.ClearPresence.clearPresenceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Presence.ClearPresence.ClearPresencePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.ClearPresence.clearPresenceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.ClearPresence.ClearPresenceRequestBuilder -Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.clearUserPreferredPresenceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.clearUserPreferredPresenceRequestBuilder.clearUserPreferredPresenceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.clearUserPreferredPresenceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.clearUserPreferredPresenceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.clearUserPreferredPresenceRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.clearUserPreferredPresenceRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.clearUserPreferredPresenceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder.presenceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.presenceRequestBuilder.presenceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Presence.presenceRequestBuilder.presenceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Presence.presenceRequestBuilder.presenceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.presenceRequestBuilder.presenceRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|clearAutomaticLocation:global.Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|clearLocation:global.Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|clearPresence:global.Microsoft.Graph.Me.Presence.ClearPresence.ClearPresenceRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|clearUserPreferredPresence:global.Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Presence -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Presence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Presence -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setAutomaticLocation:global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setManualLocation:global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setPresence:global.Microsoft.Graph.Me.Presence.SetPresence.SetPresenceRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setStatusMessage:global.Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessageRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setUserPreferredPresence:global.Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresenceRequestBuilder -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Presence; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.PresenceRequestBuilder -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|PlaceId:string -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder.setAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|PlaceId:string -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder.setManualLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|Activity:string -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|Availability:string -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|ExpirationDuration:TimeSpan? -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|SessionId:string -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Presence.SetPresence.SetPresencePostRequestBody -Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Presence.SetPresence.setPresenceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.SetPresence.setPresenceRequestBuilder.setPresenceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.SetPresence.setPresenceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetPresence.setPresenceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetPresence.setPresenceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Presence.SetPresence.SetPresencePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.SetPresence.setPresenceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Presence.SetPresence.SetPresencePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.SetPresence.setPresenceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.SetPresence.SetPresenceRequestBuilder -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessagePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessagePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessagePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessagePostRequestBody::|public|StatusMessage:global.Microsoft.Graph.Models.PresenceStatusMessage -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessagePostRequestBody -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessageRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessageRequestBuilder.setStatusMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.SetStatusMessage.setStatusMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessageRequestBuilder -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody::|public|Activity:string -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody::|public|Availability:string -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody::|public|ExpirationDuration:TimeSpan? -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresencePostRequestBody -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresencePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresenceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresenceRequestBuilder.setUserPreferredPresenceRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresenceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresenceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresenceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresencePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresenceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresencePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Presence.SetUserPreferredPresence.setUserPreferredPresenceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresenceRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|Count:global.Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.Count.CountRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder::|public|Count:global.Microsoft.Graph.Me.RegisteredDevices.GraphDevice.Count.CountRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeviceCollectionResponse -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.GraphDevice.graphDeviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.GraphDevice.GraphDeviceRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|Count:global.Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.Count.CountRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EndpointCollectionResponse -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.graphEndpointRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.GraphEndpointRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder::|public|graphAppRoleAssignment:global.Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder::|public|graphDevice:global.Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.GraphDeviceRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder::|public|graphEndpoint:global.Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder.graphAppRoleAssignmentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignment -Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.graphAppRoleAssignmentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.Item.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.graphDeviceRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.graphDeviceRequestBuilder.graphDeviceRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Device -Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.graphDeviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.Item.GraphDevice.GraphDeviceRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.graphEndpointRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.graphEndpointRequestBuilder.graphEndpointRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Endpoint -Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.graphEndpointRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.Item.GraphEndpoint.GraphEndpointRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder.registeredDevicesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder.registeredDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder.registeredDevicesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder.registeredDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder.registeredDevicesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder.registeredDevicesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder.registeredDevicesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder.registeredDevicesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder.registeredDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Me.RegisteredDevices.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.RegisteredDevices.Count.CountRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::|public|graphAppRoleAssignment:global.Microsoft.Graph.Me.RegisteredDevices.GraphAppRoleAssignment.GraphAppRoleAssignmentRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::|public|graphDevice:global.Microsoft.Graph.Me.RegisteredDevices.GraphDevice.GraphDeviceRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::|public|graphEndpoint:global.Microsoft.Graph.Me.RegisteredDevices.GraphEndpoint.GraphEndpointRequestBuilder -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RegisteredDevices.registeredDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RegisteredDevices.RegisteredDevicesRequestBuilder -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; EndDateTime?:string; StartDateTime?:string):void -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsReminderViewWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.reminderViewWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.RemoveAllDevicesFromManagement.removeAllDevicesFromManagementRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RemoveAllDevicesFromManagement.removeAllDevicesFromManagementRequestBuilder.removeAllDevicesFromManagementRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RemoveAllDevicesFromManagement.removeAllDevicesFromManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RemoveAllDevicesFromManagement.removeAllDevicesFromManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RemoveAllDevicesFromManagement.removeAllDevicesFromManagementRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.RemoveAllDevicesFromManagement.removeAllDevicesFromManagementRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RemoveAllDevicesFromManagement.removeAllDevicesFromManagementRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RemoveAllDevicesFromManagement.RemoveAllDevicesFromManagementRequestBuilder -Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder.reprocessLicenseAssignmentRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User -Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ReprocessLicenseAssignment.ReprocessLicenseAssignmentRequestBuilder -Microsoft.Graph.Me.Restore.restoreRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Restore.RestoreRequestBuilder -Microsoft.Graph.Me.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder.retryServiceProvisioningRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RetryServiceProvisioning.RetryServiceProvisioningRequestBuilder -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsPostResponse::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsPostResponse::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsPostResponse::|public|constructor():void -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsPostResponse::|public|Value:bool? -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsPostResponse -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsPostResponse~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsRequestBuilder.revokeSignInSessionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsRequestBuilder::|public|PostAsRevokeSignInSessionsPostResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsPostResponse -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsResponse -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsRequestBuilder -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsResponse-->global.Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsPostResponse -Microsoft.Graph.Me.RevokeSignInSessions.revokeSignInSessionsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.RevokeSignInSessions.RevokeSignInSessionsResponse -Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder.ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder.ScopedRoleMembershipItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder.ScopedRoleMembershipItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder.ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder.ScopedRoleMembershipItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ScopedRoleMembership -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ScopedRoleMembership; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ScopedRoleMembership -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ScopedRoleMembership; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder.scopedRoleMemberOfRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder::[ScopedRoleMembershipId:string]:global.Microsoft.Graph.Me.ScopedRoleMemberOf.Item.ScopedRoleMembershipItemRequestBuilder -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ScopedRoleMemberOf.Count.CountRequestBuilder -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ScopedRoleMembershipCollectionResponse -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ScopedRoleMembership; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ScopedRoleMembership -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ScopedRoleMembership; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ScopedRoleMemberOf.scopedRoleMemberOfRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ScopedRoleMemberOf.ScopedRoleMemberOfRequestBuilder -Microsoft.Graph.Me.SendMail.sendMailPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.SendMail.sendMailPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.SendMail.sendMailPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.SendMail.sendMailPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.SendMail.sendMailPostRequestBody::|public|Message:global.Microsoft.Graph.Models.Message -Microsoft.Graph.Me.SendMail.sendMailPostRequestBody::|public|SaveToSentItems:bool? -Microsoft.Graph.Me.SendMail.sendMailPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.SendMail.sendMailPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.SendMail.SendMailPostRequestBody -Microsoft.Graph.Me.SendMail.sendMailPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.SendMail.sendMailRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.SendMail.sendMailRequestBuilder.sendMailRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.SendMail.sendMailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.SendMail.sendMailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.SendMail.sendMailRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.SendMail.SendMailPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.SendMail.sendMailRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.SendMail.SendMailPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.SendMail.sendMailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.SendMail.SendMailRequestBuilder -Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.ServiceProvisioningErrors.Count.CountRequestBuilder -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder -Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder.exchangeRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder.exchangeRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder.exchangeRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExchangeSettings -Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder.itemInsightsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder.itemInsightsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder.itemInsightsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder.itemInsightsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder.itemInsightsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserInsightsSettings -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserInsightsSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserInsightsSettings -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserInsightsSettings; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.ItemInsights.ItemInsightsRequestBuilder -Microsoft.Graph.Me.Settings.settingsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.settingsRequestBuilder.settingsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.settingsRequestBuilder.settingsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.settingsRequestBuilder.settingsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.settingsRequestBuilder.settingsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.settingsRequestBuilder.settingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|exchange:global.Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserSettings -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|itemInsights:global.Microsoft.Graph.Me.Settings.ItemInsights.ItemInsightsRequestBuilder -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserSettings -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|shiftPreferences:global.Microsoft.Graph.Me.Settings.ShiftPreferences.ShiftPreferencesRequestBuilder -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|storage:global.Microsoft.Graph.Me.Settings.Storage.StorageRequestBuilder -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserSettings; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|windows:global.Microsoft.Graph.Me.Settings.Windows.WindowsRequestBuilder -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.SettingsRequestBuilder -Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|workHoursAndLocations:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ShiftPreferences -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ShiftPreferences; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ShiftPreferences -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ShiftPreferences; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.ShiftPreferences.ShiftPreferencesRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder.quotaRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder.quotaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder.quotaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder.quotaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder.quotaRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UnifiedStorageQuota -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UnifiedStorageQuota; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UnifiedStorageQuota -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|services:global.Microsoft.Graph.Me.Settings.Storage.Quota.Services.ServicesRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UnifiedStorageQuota; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.Quota.quotaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Storage.Quota.QuotaRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder.ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder.ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder.ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder.ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder.ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceStorageQuotaBreakdown -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ServiceStorageQuotaBreakdown; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceStorageQuotaBreakdown -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ServiceStorageQuotaBreakdown; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder.servicesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder::[ServiceStorageQuotaBreakdownId:string]:global.Microsoft.Graph.Me.Settings.Storage.Quota.Services.Item.ServiceStorageQuotaBreakdownItemRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Settings.Storage.Quota.Services.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceStorageQuotaBreakdownCollectionResponse -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ServiceStorageQuotaBreakdown; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceStorageQuotaBreakdown -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ServiceStorageQuotaBreakdown; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.Quota.Services.servicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Storage.Quota.Services.ServicesRequestBuilder -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder.storageRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder.storageRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder.storageRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder.storageRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder.storageRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserStorage -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserStorage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserStorage -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|quota:global.Microsoft.Graph.Me.Settings.Storage.Quota.QuotaRequestBuilder -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserStorage; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Storage.storageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Storage.StorageRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder.instancesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder::[WindowsSettingInstanceId:string]:global.Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Settings.Windows.Item.Instances.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsSettingInstanceCollectionResponse -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WindowsSettingInstance; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsSettingInstance -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WindowsSettingInstance; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Item.Instances.instancesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Windows.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder.WindowsSettingInstanceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder.WindowsSettingInstanceItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder.WindowsSettingInstanceItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder.WindowsSettingInstanceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder.WindowsSettingInstanceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsSettingInstance -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WindowsSettingInstance; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsSettingInstance -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WindowsSettingInstance; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Windows.Item.Instances.Item.WindowsSettingInstanceItemRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder.WindowsSettingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder.WindowsSettingItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder.WindowsSettingItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder.WindowsSettingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder.WindowsSettingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsSetting -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|instances:global.Microsoft.Graph.Me.Settings.Windows.Item.Instances.InstancesRequestBuilder -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WindowsSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsSetting -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WindowsSetting; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder.windowsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::[WindowsSettingId:string]:global.Microsoft.Graph.Me.Settings.Windows.Item.WindowsSettingItemRequestBuilder -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Settings.Windows.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsSettingCollectionResponse -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WindowsSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WindowsSetting -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WindowsSetting; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Windows.WindowsRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrence -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrence -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::[WorkPlanOccurrenceId:string]:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrenceCollectionResponse -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrence -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|setCurrentLocation:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|PlaceId:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|UpdateScope:global.Microsoft.Graph.Models.WorkLocationUpdateScope? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder.setCurrentLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:string; startDateTime?:string):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrence -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrence -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::[WorkPlanRecurrenceId:string]:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrenceCollectionResponse -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrence -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrences:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime:string; startDateTime:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|recurrences:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder.solutionsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder.solutionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder.solutionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder.solutionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder.solutionsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserSolutionRoot -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserSolutionRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserSolutionRoot -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserSolutionRoot; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Solutions.SolutionsRequestBuilder -Microsoft.Graph.Me.Solutions.solutionsRequestBuilder::|public|workingTimeSchedule:global.Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.WorkingTimeScheduleRequestBuilder -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.endWorkingTimeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.endWorkingTimeRequestBuilder.endWorkingTimeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.endWorkingTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.endWorkingTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.endWorkingTimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.endWorkingTimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.endWorkingTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.EndWorkingTimeRequestBuilder -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.startWorkingTimeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.startWorkingTimeRequestBuilder.startWorkingTimeRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.startWorkingTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.startWorkingTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.startWorkingTimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.startWorkingTimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.startWorkingTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.StartWorkingTimeRequestBuilder -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder.workingTimeScheduleRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder.workingTimeScheduleRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder.workingTimeScheduleRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder.workingTimeScheduleRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder.workingTimeScheduleRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|endWorkingTime:global.Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.EndWorkingTime.EndWorkingTimeRequestBuilder -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkingTimeSchedule -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WorkingTimeSchedule; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkingTimeSchedule -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|startWorkingTime:global.Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.StartWorkingTime.StartWorkingTimeRequestBuilder -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WorkingTimeSchedule; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.workingTimeScheduleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Solutions.WorkingTimeSchedule.WorkingTimeScheduleRequestBuilder -Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder -Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder.sponsorOfRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder.sponsorOfRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder.sponsorOfRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder.sponsorOfRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder.sponsorOfRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder.sponsorOfRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder.sponsorOfRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder.sponsorOfRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder.sponsorOfRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Me.SponsorOf.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder::|public|Count:global.Microsoft.Graph.Me.SponsorOf.Count.CountRequestBuilder -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.SponsorOf.sponsorOfRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.SponsorOf.SponsorOfRequestBuilder -Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|Ref:global.Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder -Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteQueryParameters::|public|Id:string -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.StringCollectionResponse -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ReferenceCreate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|Ref:global.Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Sponsors.SponsorsRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder.associatedTeamsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder::[AssociatedTeamInfoId:string]:global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AssociatedTeamInfoCollectionResponse -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AssociatedTeamInfo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AssociatedTeamInfo -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AssociatedTeamInfo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.Count.CountRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder.AssociatedTeamInfoItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder.AssociatedTeamInfoItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder.AssociatedTeamInfoItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder.AssociatedTeamInfoItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder.AssociatedTeamInfoItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AssociatedTeamInfo -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AssociatedTeamInfo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AssociatedTeamInfo -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|team:global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AssociatedTeamInfo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.AssociatedTeamInfoItemRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder.teamRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder.teamRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder.teamRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|ChannelId:string -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|MessageId:string -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|TeamId:string -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder.deleteTargetedMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Value:List -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsGetAllRetainedTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse-->global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse -Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Value:List -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsGetAllTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse-->global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse -Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse -Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder.installedAppsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder::[UserScopeTeamsAppInstallationId:string]:global.Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserScopeTeamsAppInstallationCollectionResponse -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.UserScopeTeamsAppInstallation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserScopeTeamsAppInstallation -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.UserScopeTeamsAppInstallation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.InstalledApps.installedAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.chatRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.chatRequestBuilder.chatRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.chatRequestBuilder.chatRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.chatRequestBuilder.chatRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.chatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.chatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.chatRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Chat -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.chatRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.chatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.ChatRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder.teamsAppRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.teamsAppRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder.teamsAppDefinitionRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder.teamsAppDefinitionRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder.teamsAppDefinitionRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppDefinition -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.teamsAppDefinitionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder.UserScopeTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder.UserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder.UserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder.UserScopeTeamsAppInstallationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder.UserScopeTeamsAppInstallationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|chat:global.Microsoft.Graph.Me.Teamwork.InstalledApps.Item.Chat.ChatRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserScopeTeamsAppInstallation -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserScopeTeamsAppInstallation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserScopeTeamsAppInstallation -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|teamsApp:global.Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsApp.TeamsAppRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|teamsAppDefinition:global.Microsoft.Graph.Me.Teamwork.InstalledApps.Item.TeamsAppDefinition.TeamsAppDefinitionRequestBuilder -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserScopeTeamsAppInstallation; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.InstalledApps.Item.UserScopeTeamsAppInstallationItemRequestBuilder -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ActivityType:string -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|TeamsAppId:string -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|TemplateParameters:List -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Topic:global.Microsoft.Graph.Models.TeamworkActivityTopic -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationRequestBuilder.sendActivityNotificationRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationRequestBuilder -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder.teamworkRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder.teamworkRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder.teamworkRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder.teamworkRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder.teamworkRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|associatedTeams:global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|deleteTargetedMessage:global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|getAllRetainedTargetedMessages:global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|getAllTargetedMessages:global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|installedApps:global.Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserTeamwork; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Me.Teamwork.SendActivityNotification.SendActivityNotificationRequestBuilder -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserTeamwork; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.TeamworkRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Todo.Lists.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Todo.Lists.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Todo.Lists.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Todo.Lists.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Todo.Lists.Delta.DeltaGetResponse -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Todo.Lists.Delta.DeltaGetResponse -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Todo.Lists.Delta.DeltaResponse -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Delta.deltaResponse-->global.Microsoft.Graph.Me.Todo.Lists.Delta.DeltaGetResponse -Microsoft.Graph.Me.Todo.Lists.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Todo.Lists.Delta.DeltaResponse -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaGetResponse::|public|Value:List -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaGetResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaGetResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaResponse-->global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaGetResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::[AttachmentBaseId:string]:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentBaseCollectionResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AttachmentBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentBase -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AttachmentBase; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|AttachmentInfo:global.Microsoft.Graph.Models.AttachmentInfo -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.CreateUploadSession.CreateUploadSessionRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder.AttachmentBaseItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder.AttachmentBaseItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder.AttachmentBaseItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder.AttachmentBaseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentBase -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.AttachmentBaseItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.Item.Value.ContentRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder.attachmentSessionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder.attachmentSessionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder.attachmentSessionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder.attachmentSessionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder.attachmentSessionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder.attachmentSessionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder.attachmentSessionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder.attachmentSessionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder.attachmentSessionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder::[AttachmentSessionId:string]:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentSessionCollectionResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.attachmentSessionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.AttachmentSessionsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder.AttachmentSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder.AttachmentSessionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder.AttachmentSessionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder.AttachmentSessionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder.AttachmentSessionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentSession -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AttachmentSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentSession -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AttachmentSession; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.AttachmentSessionItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AttachmentSession -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.Item.Content.ContentRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder.checklistItemsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder::[ChecklistItemId:string]:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChecklistItemCollectionResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChecklistItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChecklistItem -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChecklistItem; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.checklistItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.ChecklistItemsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder.ChecklistItemItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder.ChecklistItemItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder.ChecklistItemItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder.ChecklistItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder.ChecklistItemItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChecklistItem -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChecklistItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChecklistItem -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChecklistItem; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.Item.ChecklistItemItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder.extensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder::[ExtensionId:string]:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExtensionCollectionResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.extensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder.ExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Extension -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Extension; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.Item.ExtensionItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder.LinkedResourceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder.LinkedResourceItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder.LinkedResourceItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder.LinkedResourceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder.LinkedResourceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LinkedResource -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.LinkedResource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LinkedResource -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.LinkedResource; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder.linkedResourcesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder::[LinkedResourceId:string]:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Item.LinkedResourceItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LinkedResourceCollectionResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.LinkedResource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LinkedResource -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.LinkedResource; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.linkedResourcesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.LinkedResourcesRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder.TodoTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder.TodoTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder.TodoTaskItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder.TodoTaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder.TodoTaskItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Attachments.AttachmentsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|attachmentSessions:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.AttachmentSessions.AttachmentSessionsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|checklistItems:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.ChecklistItems.ChecklistItemsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TodoTask -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|linkedResources:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.LinkedResources.LinkedResourcesRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TodoTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TodoTask -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TodoTask; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::[TodoTaskId:string]:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Item.TodoTaskItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TodoTaskCollectionResponse -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TodoTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TodoTask -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TodoTask; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.TasksRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder.TodoTaskListItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder.TodoTaskListItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder.TodoTaskListItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder.TodoTaskListItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder.TodoTaskListItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Me.Todo.Lists.Item.Extensions.ExtensionsRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TodoTaskList -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TodoTaskList; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TodoTaskList -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|tasks:global.Microsoft.Graph.Me.Todo.Lists.Item.Tasks.TasksRequestBuilder -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TodoTaskList; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder.listsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::[TodoTaskListId:string]:global.Microsoft.Graph.Me.Todo.Lists.Item.TodoTaskListItemRequestBuilder -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Todo.Lists.Count.CountRequestBuilder -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Todo.Lists.Delta.DeltaRequestBuilder -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TodoTaskListCollectionResponse -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TodoTaskList; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TodoTaskList -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TodoTaskList; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.Lists.listsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.Lists.ListsRequestBuilder -Microsoft.Graph.Me.Todo.todoRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Todo.todoRequestBuilder.todoRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.todoRequestBuilder.todoRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Todo.todoRequestBuilder.todoRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Todo.todoRequestBuilder.todoRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.todoRequestBuilder.todoRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Todo -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|lists:global.Microsoft.Graph.Me.Todo.Lists.ListsRequestBuilder -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Todo; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Todo -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Todo; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Todo.todoRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Todo.TodoRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|Count:global.Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.Count.CountRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdministrativeUnitCollectionResponse -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|Count:global.Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.Count.CountRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryRoleCollectionResponse -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder::|public|Count:global.Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.Count.CountRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GroupCollectionResponse -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.graphGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder::|public|graphAdministrativeUnit:global.Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder::|public|graphDirectoryRole:global.Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder::|public|graphGroup:global.Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder.graphAdministrativeUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdministrativeUnit -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.graphAdministrativeUnitRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder.graphDirectoryRoleRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryRole -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.graphDirectoryRoleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.graphGroupRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.graphGroupRequestBuilder.graphGroupRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Group -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.graphGroupRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.Item.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder.transitiveMemberOfRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder.transitiveMemberOfRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder.transitiveMemberOfRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder.transitiveMemberOfRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder.transitiveMemberOfRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder.transitiveMemberOfRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder.transitiveMemberOfRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder.transitiveMemberOfRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder.transitiveMemberOfRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Me.TransitiveMemberOf.Item.DirectoryObjectItemRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|Count:global.Microsoft.Graph.Me.TransitiveMemberOf.Count.CountRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|graphAdministrativeUnit:global.Microsoft.Graph.Me.TransitiveMemberOf.GraphAdministrativeUnit.GraphAdministrativeUnitRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|graphDirectoryRole:global.Microsoft.Graph.Me.TransitiveMemberOf.GraphDirectoryRole.GraphDirectoryRoleRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|graphGroup:global.Microsoft.Graph.Me.TransitiveMemberOf.GraphGroup.GraphGroupRequestBuilder -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TransitiveMemberOf.TransitiveMemberOfRequestBuilder -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody::|public|InputIds:List -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody::|public|SourceIdType:global.Microsoft.Graph.Models.ExchangeIdFormat? -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody::|public|TargetIdType:global.Microsoft.Graph.Models.ExchangeIdFormat? -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostResponse::|public|Value:List -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostResponse -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsRequestBuilder.translateExchangeIdsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsRequestBuilder::|public|PostAsTranslateExchangeIdsPostResponseAsync(body:global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostResponse -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsResponse -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsRequestBuilder -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsResponse-->global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsPostResponse -Microsoft.Graph.Me.TranslateExchangeIds.translateExchangeIdsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.TranslateExchangeIds.TranslateExchangeIdsResponse -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagPostRequestBody::|public|constructor():void -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagPostRequestBody::|public|DeviceTag:string -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagPostRequestBody -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagRequestBuilder.wipeManagedAppRegistrationsByDeviceTagRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.wipeManagedAppRegistrationsByDeviceTagRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.WipeManagedAppRegistrationsByDeviceTag.WipeManagedAppRegistrationsByDeviceTagRequestBuilder Microsoft.Graph.Models.aadUserConversationMember-->global.Microsoft.Graph.Models.ConversationMember Microsoft.Graph.Models.aadUserConversationMember::|public|constructor():void Microsoft.Graph.Models.aadUserConversationMember::|public|Email:string diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 7f1808addd3..68029584132 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -30,6 +30,8 @@ ], "includePatterns": [], "excludePatterns": [ + "/me", + "/me/**", "/copilot", "/copilot/**" ], diff --git a/src/Microsoft.Graph/GraphServiceClient.cs b/src/Microsoft.Graph/GraphServiceClient.cs index 9db0d888c15..6da4d426765 100644 --- a/src/Microsoft.Graph/GraphServiceClient.cs +++ b/src/Microsoft.Graph/GraphServiceClient.cs @@ -98,6 +98,14 @@ public GraphServiceClient( /// public new IRequestAdapter RequestAdapter { get; set; } + /// + /// Provides operations for the signed-in user using the user request builders. + /// + public Users.Item.UserItemRequestBuilder Me + { + get => new Users.UsersRequestBuilder(PathParameters, RequestAdapter)[CoreConstants.ReplacementConstants.UserIdTokenToReplace]; + } + /// /// Gets the for building batch Requests /// diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Models/GraphServiceClientTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Models/GraphServiceClientTests.cs index ab8f8f7685f..d6f98ea6093 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Models/GraphServiceClientTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Models/GraphServiceClientTests.cs @@ -2,7 +2,17 @@ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ +using System; +using System.Net; +using System.Net.Http; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Graph.Users.Item; +using Microsoft.Graph.Users.Item.SendMail; +using Microsoft.Kiota.Abstractions; using Microsoft.Kiota.Abstractions.Authentication; +using Microsoft.Kiota.Http.HttpClientLibrary.Middleware; +using Moq; using Xunit; namespace Microsoft.Graph.DotnetCore.Test.Models; @@ -35,4 +45,111 @@ public void InitializesClientWithCustomBaseUrl() // Assert Assert.Contains(customBaseUrl, userRequestInformation.URI.OriginalString); } + + [Fact] + public void MeReusesUserRequestBuildersWithoutChangingOtherPaths() + { + using var graphClient = new GraphServiceClient(new AnonymousAuthenticationProvider()); + + Assert.IsType(graphClient.Me); + var meRequest = graphClient.Me.ToGetRequestInformation(); + Assert.Equal(CoreConstants.ReplacementConstants.UserIdTokenToReplace, meRequest.PathParameters["user%2Did"]); + Assert.Equal("https://graph.microsoft.com/v1.0/users/TokenToReplace", meRequest.URI.AbsoluteUri); + Assert.Equal("https://graph.microsoft.com/v1.0/users/another-user", + graphClient.Users["another-user"].ToGetRequestInformation().URI.AbsoluteUri); + Assert.Equal("https://graph.microsoft.com/v1.0/users/TokenToReplace", + graphClient.Me.ToGetRequestInformation().URI.AbsoluteUri); + } + + [Fact] + public void MePreservesCustomAdapterAndBaseUrl() + { + var adapter = new Mock(); + adapter.SetupProperty(value => value.BaseUrl); + using var graphClient = new GraphServiceClient(adapter.Object, "https://graph.microsoft.us/v1.0"); + + var request = graphClient.Me.Messages["message-id"].ToGetRequestInformation(); + + Assert.Same(adapter.Object, graphClient.RequestAdapter); + Assert.Equal("https://graph.microsoft.us/v1.0/users/TokenToReplace/messages/message-id", + request.URI.AbsoluteUri); + } + + [Fact] + public void MePreservesRawUrls() + { + using var graphClient = new GraphServiceClient(new AnonymousAuthenticationProvider()); + const string nextLink = "https://graph.microsoft.com/v1.0/me/messages?$skiptoken=next"; + + var request = graphClient.Me.Messages.WithUrl(nextLink).ToGetRequestInformation(); + + Assert.Equal(nextLink, request.URI.OriginalString); + } + + [Theory] + [InlineData(false, "https://graph.microsoft.com/v1.0/me/messages/message-id?%24select=id")] + [InlineData(true, "https://graph.microsoft.com/v1.0/me/sendMail")] + public async Task MeRemapsRequestsWithConfiguredCustomHttpClient(bool sendMail, string expectedUrl) + { + using var capture = new CaptureRequestHandler(); + using var replacement = new UriReplacementHandler( + new GraphUriReplacementHandlerOption()) { InnerHandler = capture }; + using var httpClient = new HttpClient(replacement); + using var graphClient = new GraphServiceClient(httpClient); + + if (sendMail) + { + await graphClient.Me.SendMail.PostAsync(new SendMailPostRequestBody + { + Message = new Microsoft.Graph.Models.Message { Subject = "test" } + }); + } + else + { + await graphClient.Me.Messages["message-id"].GetAsync( + configuration => configuration.QueryParameters.Select = new[] { "id" }); + } + + Assert.Equal(expectedUrl, capture.RequestUri?.AbsoluteUri); + Assert.Equal(sendMail ? HttpMethod.Post : HttpMethod.Get, capture.Method); + } + + [Fact] + public async Task MeRemapsRequestsWithDefaultHandlerPipeline() + { + using var capture = new CaptureRequestHandler(); + using var httpClient = GraphClientFactory.Create(new GraphClientOptions(), finalHandler: capture); + using var graphClient = new GraphServiceClient(httpClient); + + await graphClient.Me.GetAsync(); + + Assert.Equal("https://graph.microsoft.com/v1.0/me", capture.RequestUri?.AbsoluteUri); + } + + [Fact] + public async Task MeRemapsBatchStepsWithoutAnHttpReplacementHandler() + { + using var httpClient = new HttpClient(new CaptureRequestHandler()); + using var graphClient = new GraphServiceClient(httpClient); + var batch = new BatchRequestContentCollection(graphClient); + + var stepId = await batch.AddBatchRequestStepAsync( + graphClient.Me.Messages["message-id"].ToGetRequestInformation()); + + Assert.Equal("https://graph.microsoft.com/v1.0/me/messages/message-id", + batch.BatchRequestSteps[stepId].Request.RequestUri?.AbsoluteUri); + } + + private sealed class CaptureRequestHandler : HttpMessageHandler + { + public Uri RequestUri { get; private set; } + public HttpMethod Method { get; private set; } + + protected override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) + { + RequestUri = request.RequestUri; + Method = request.Method; + return Task.FromResult(new HttpResponseMessage(HttpStatusCode.NoContent)); + } + } } diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Extensions/MailFolderMessagesCollectionRequestBuilderExtensionsTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Extensions/MailFolderMessagesCollectionRequestBuilderExtensionsTests.cs index 0bac1b42a5c..7acffb60652 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Extensions/MailFolderMessagesCollectionRequestBuilderExtensionsTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Extensions/MailFolderMessagesCollectionRequestBuilderExtensionsTests.cs @@ -14,7 +14,7 @@ public class MailFolderMessagesCollectionRequestBuilderExtensionsTests public void DeletedItems() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/me/mailFolders/DeletedItems"); + var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/users/TokenToReplace/mailFolders/DeletedItems"); var mailFolderRequestInformation = graphServiceClient.Me.MailFolders["DeletedItems"].ToGetRequestInformation(); Assert.NotNull(mailFolderRequestInformation); @@ -25,7 +25,7 @@ public void DeletedItems() public void Drafts() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/me/mailFolders/Drafts"); + var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/users/TokenToReplace/mailFolders/Drafts"); var mailFolderRequestInformation = graphServiceClient.Me.MailFolders["Drafts"].ToGetRequestInformation(); Assert.NotNull(mailFolderRequestInformation); @@ -36,7 +36,7 @@ public void Drafts() public void Inbox() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/me/mailFolders/Inbox"); + var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/users/TokenToReplace/mailFolders/Inbox"); var mailFolderRequestInformation = graphServiceClient.Me.MailFolders["Inbox"].ToGetRequestInformation(); Assert.NotNull(mailFolderRequestInformation); @@ -47,7 +47,7 @@ public void Inbox() public void SentItems() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/me/mailFolders/SentItems"); + var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/users/TokenToReplace/mailFolders/SentItems"); var mailFolderRequestInformation = graphServiceClient.Me.MailFolders["SentItems"].ToGetRequestInformation(); Assert.NotNull(mailFolderRequestInformation); diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/DeltaQueryTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/DeltaQueryTests.cs index 891d5210ca2..58b898e4c42 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/DeltaQueryTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/DeltaQueryTests.cs @@ -59,13 +59,13 @@ public async Task DeltaLinkMessages() // Go through all of the delta pages so that we can get the delta link on the last page. while (messagesDeltaCollectionPage.OdataNextLink != null) { - messagesDeltaCollectionPage = await new Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaRequestBuilder(messagesDeltaCollectionPage.OdataNextLink,graphClient.RequestAdapter).GetAsDeltaGetResponseAsync(); + messagesDeltaCollectionPage = await new Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Delta.DeltaRequestBuilder(messagesDeltaCollectionPage.OdataNextLink,graphClient.RequestAdapter).GetAsDeltaGetResponseAsync(); } // Now let's use the deltalink to make sure there aren't any changes. There shouldn't be. if (messagesDeltaCollectionPage.OdataDeltaLink != null) { - messagesDeltaCollectionPage = await new Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaRequestBuilder(messagesDeltaCollectionPage.OdataNextLink,graphClient.RequestAdapter).GetAsDeltaGetResponseAsync(); + messagesDeltaCollectionPage = await new Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Delta.DeltaRequestBuilder(messagesDeltaCollectionPage.OdataNextLink,graphClient.RequestAdapter).GetAsDeltaGetResponseAsync(); } Assert.Empty(messagesDeltaCollectionPage.Value); @@ -75,7 +75,7 @@ public async Task DeltaLinkMessages() // Now let's use the deltalink to make sure there aren't any changes. We expect to see a new message. if (messagesDeltaCollectionPage.OdataDeltaLink != null) { - messagesDeltaCollectionPage = await new Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaRequestBuilder(messagesDeltaCollectionPage.OdataNextLink,graphClient.RequestAdapter).GetAsDeltaGetResponseAsync(); + messagesDeltaCollectionPage = await new Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Delta.DeltaRequestBuilder(messagesDeltaCollectionPage.OdataNextLink,graphClient.RequestAdapter).GetAsDeltaGetResponseAsync(); } // We expect two changes, one new item, and the root folder will have a change. diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/EventTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/EventTests.cs index 6385ca24cb0..420e829034b 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/EventTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/EventTests.cs @@ -8,7 +8,7 @@ namespace Microsoft.Graph.DotnetCore.Test.Requests.Functional using System.Collections.Generic; using System.Threading.Tasks; using Xunit; - using Microsoft.Graph.Me.FindMeetingTimes; + using Microsoft.Graph.Users.Item.FindMeetingTimes; using Microsoft.Graph.Models; public class EventTests : GraphTestBase diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/MailTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/MailTests.cs index 4060bb47714..0ca059b04ec 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/MailTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/MailTests.cs @@ -5,7 +5,7 @@ namespace Microsoft.Graph.DotnetCore.Test.Requests.Functional { using Microsoft.Graph.Models; - using Microsoft.Graph.Me.SendMail; + using Microsoft.Graph.Users.Item.SendMail; using Microsoft.Graph.DotnetCore.Test.Requests.Functional.Resources; using System; using System.Collections.Generic; @@ -148,7 +148,7 @@ public async System.Threading.Tasks.Task MailNextPageRequest() while (messagePage.OdataNextLink != null) { - messagePage = await new Me.Messages.MessagesRequestBuilder(messagePage.OdataNextLink, graphClient.RequestAdapter).GetAsync(); + messagePage = await new Users.Item.Messages.MessagesRequestBuilder(messagePage.OdataNextLink, graphClient.RequestAdapter).GetAsync(); messages.AddRange(messagePage.Value); } } diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/UserTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/UserTests.cs index dbe3cd483ac..887bcf52b47 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/UserTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/UserTests.cs @@ -4,9 +4,9 @@ namespace Microsoft.Graph.DotnetCore.Test.Requests.Functional { - using Microsoft.Graph.Me.GetMailTips; - using Microsoft.Graph.Me.GetMemberGroups; - using AssignLicensePostRequestBody = Microsoft.Graph.Me.AssignLicense.AssignLicensePostRequestBody; + using Microsoft.Graph.Users.Item.GetMailTips; + using Microsoft.Graph.Users.Item.GetMemberGroups; + using AssignLicensePostRequestBody = Microsoft.Graph.Users.Item.AssignLicense.AssignLicensePostRequestBody; using Microsoft.Graph.DotnetCore.Test.Requests.Functional.Resources; using Microsoft.Graph.Models; using System; diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs index 02ae3695891..c53e0f3da72 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs @@ -8,9 +8,9 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.Graph.Drives.Item.Items.Item.CreateLink; -using Microsoft.Graph.Me.AssignLicense; -using Microsoft.Graph.Me.CheckMemberGroups; -using Microsoft.Graph.Me.GetMemberGroups; +using Microsoft.Graph.Users.Item.AssignLicense; +using Microsoft.Graph.Users.Item.CheckMemberGroups; +using Microsoft.Graph.Users.Item.GetMemberGroups; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions; using Microsoft.Kiota.Abstractions.Serialization; @@ -29,7 +29,7 @@ public class ActionRequestTests public void MultipleRequiredParameters() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = $"{string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")}/me/assignLicense"; + var expectedRequestUrl = $"{string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")}/users/TokenToReplace/assignLicense"; var addLicenses = new List { new AssignedLicense() }; @@ -53,7 +53,7 @@ public void MultipleRequiredParameters() public void OptionalParameterWithNonNullableType_NullValue() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = $"{string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")}/me/getMemberGroups"; + var expectedRequestUrl = $"{string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")}/users/TokenToReplace/getMemberGroups"; var requestBody = new GetMemberGroupsPostRequestBody { }; @@ -71,7 +71,7 @@ public void OptionalParameterWithNonNullableType_NullValue() public void OptionalParameterWithNonNullableType_ValueSet() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = string.Format("{0}/me/getMemberGroups", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/getMemberGroups", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var requestBody = new GetMemberGroupsPostRequestBody { SecurityEnabledOnly = true}; @@ -90,7 +90,7 @@ public void NoParameters() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); var messageId = "messageId"; - var expectedRequestUrl = string.Format("{0}/me/mailFolders/Drafts/messages/{1}/send", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0"), messageId); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/mailFolders/Drafts/messages/{1}/send", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0"), messageId); var requestInformation = graphServiceClient.Me.MailFolders["Drafts"].Messages[messageId].Send.ToPostRequestInformation(); diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/EntityCollectionRequestTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/EntityCollectionRequestTests.cs index f4aa4ec7689..ef0e5361ed7 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/EntityCollectionRequestTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/EntityCollectionRequestTests.cs @@ -25,7 +25,7 @@ public class EntityCollectionRequestTests public void BuildRequest() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/me/calendars"); + var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/users/TokenToReplace/calendars"); var requestInformation = graphServiceClient.Me.Calendars.ToGetRequestInformation(); Assert.NotNull(requestInformation); @@ -139,7 +139,7 @@ public void Expand() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = string.Format("{0}/me/contactFolders?%24select=contacts", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/contactFolders?%24select=contacts", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var requestInformation = graphServiceClient.Me.ContactFolders.ToGetRequestInformation( requestConfiguration => requestConfiguration.QueryParameters.Select = new []{"contacts"}); @@ -154,7 +154,7 @@ public void Expand() public void Select() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = string.Format("{0}/me/contactFolders?%24select=value", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/contactFolders?%24select=value", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var requestInformation = graphServiceClient.Me.ContactFolders.ToGetRequestInformation( requestConfiguration => requestConfiguration.QueryParameters.Select = new []{"value"}); @@ -169,7 +169,7 @@ public void Select() public void Top() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = string.Format("{0}/me/contactFolders?%24top=1", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/contactFolders?%24top=1", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var requestInformation = graphServiceClient.Me.ContactFolders.ToGetRequestInformation( requestConfiguration => requestConfiguration.QueryParameters.Top = 1); @@ -184,7 +184,7 @@ public void Top() public void Filter() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = string.Format("{0}/me/contactFolders?%24filter=value", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/contactFolders?%24filter=value", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var requestInformation = graphServiceClient.Me.ContactFolders.ToGetRequestInformation( requestConfiguration => requestConfiguration.QueryParameters.Filter = "value"); @@ -199,7 +199,7 @@ public void Filter() public void Skip() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = string.Format("{0}/me/contactFolders?%24skip=2", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/contactFolders?%24skip=2", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var requestInformation = graphServiceClient.Me.ContactFolders.ToGetRequestInformation( requestConfiguration => requestConfiguration.QueryParameters.Skip = 2); @@ -214,7 +214,7 @@ public void Skip() public void OrderBy() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = string.Format("{0}/me/contactFolders?%24orderby=value", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/contactFolders?%24orderby=value", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var requestInformation = graphServiceClient.Me.ContactFolders.ToGetRequestInformation( requestConfiguration => requestConfiguration.QueryParameters.Orderby = new []{"value"}); diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/EntityWithReferenceRequestTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/EntityWithReferenceRequestTests.cs index e76928d5423..b74748a8384 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/EntityWithReferenceRequestTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/EntityWithReferenceRequestTests.cs @@ -24,7 +24,7 @@ public class EntityWithReferenceRequestTests public void BuildRequest() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/me/manager"); + var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/users/TokenToReplace/manager"); var requestInformation = graphServiceClient.Me.Manager.ToGetRequestInformation(); Assert.NotNull(requestInformation); diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/FunctionRequestTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/FunctionRequestTests.cs index 393cc714041..c7eacdf945c 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/FunctionRequestTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/FunctionRequestTests.cs @@ -56,7 +56,7 @@ public void RequiredAndOptionalParameters_AllParametersSet() var startDateTime = "now"; var endDateTime = "later"; - var methodBaseUrl = string.Format("{0}/me/reminderView", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var methodBaseUrl = string.Format("{0}/users/TokenToReplace/reminderView", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var expectedRequestUrl = string.Format("{0}(StartDateTime='{2}',EndDateTime='{1}')", methodBaseUrl, startDateTime, endDateTime); var requestInformation = graphServiceClient.Me.ReminderViewWithStartDateTimeWithEndDateTime(startDateTime, endDateTime).ToGetRequestInformation(); @@ -94,7 +94,7 @@ public void RequiredAndOptionalParameters_RequiredParameterNull() public void Top() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = string.Format("{0}/me/reminderView(StartDateTime='now',EndDateTime='then')?%24top=1", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/reminderView(StartDateTime='now',EndDateTime='then')?%24top=1", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var requestInformation = graphServiceClient.Me.ReminderViewWithStartDateTimeWithEndDateTime("then","now").ToGetRequestInformation( requestConfiguration =>requestConfiguration.QueryParameters.Top =1 ); @@ -109,7 +109,7 @@ public void Top() public void Skip() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUrl = string.Format("{0}/me/reminderView(StartDateTime='now',EndDateTime='then')?%24skip=1", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); + var expectedRequestUrl = string.Format("{0}/users/TokenToReplace/reminderView(StartDateTime='now',EndDateTime='then')?%24skip=1", string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0")); var requestInformation = graphServiceClient.Me.ReminderViewWithStartDateTimeWithEndDateTime("then","now").ToGetRequestInformation( requestConfiguration =>requestConfiguration.QueryParameters.Skip =1 ); diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/MediaEntityStreamRequestTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/MediaEntityStreamRequestTests.cs index aec20a6ff23..ac76c1d9879 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/MediaEntityStreamRequestTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/MediaEntityStreamRequestTests.cs @@ -23,7 +23,7 @@ public class MediaEntityStreamRequestTests public void RequestBuilder() { var graphServiceClient = new GraphServiceClient(new MockAuthenticationProvider().Object); - var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/me/photo/$value"); + var expectedRequestUri = new Uri(string.Format(Constants.Url.GraphBaseUrlFormatString, "v1.0") + "/users/TokenToReplace/photo/$value"); var requestInformation = graphServiceClient.Me.Photo.Content.ToGetRequestInformation(); Assert.NotNull(requestInformation);